-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
30 lines (19 loc) · 835 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM registry.access.redhat.com/rhel7/rhel
MAINTAINER Steve M
LABEL description="Attempt to install satellite"
USER root
RUN yum --disablerepo=* --enablerepo=rhel-7-server-rpms install yum-utils
RUN yum-config-manager --enable rhel-server-rhscl-7-rpms rhel-7-server-satellite-6.2-rpms
RUN yum-config-manager --enable rhel-7-server-satellite-6.2-rpms
RUN yum repolist
RUN yum -y update && \
yum -y install satellite
#RUN hostname -b `facter fqdn` && satellite-installer --scenario satellite \
# --foreman-initial-organization "initial_organization_name" \
# --foreman-initial-location "initial_location_name" \
# --foreman-admin-username admin-username \
# --foreman-admin-password admin-password \
# --foreman-proxy-dns-managed=false \
# --foreman-proxy-dhcp-managed=false
USER 1001
CMD sleep 6000