Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
replacing /root by /opt/tier. following Filesystem Hierarchy Standard h…
Leonardo Ludueña committed Aug 10, 2016
1 parent 1a2dd2d commit 91a6f65
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
@@ -18,18 +18,19 @@ LABEL Build docker build --rm --tag $maintainer/$imagename .
# Install base deps
RUN yum -y install --setopt=tsflags=nodocs epel-release && \
yum -y install net-tools wget curl tar unzip mlocate logrotate strace telnet man unzip vim wget rsyslog cron && \
yum clean all
yum clean all && \
mkdir -p /opt/tier

# Install Trusted Certificates
RUN update-ca-trust force-enable
ADD ./cert/InCommon.crt /etc/pki/ca-trust/source/anchors/
RUN update-ca-trust extract

# Set default environment variables.
ENV HOME /root
ENV HOME /opt/tier

# Allow triggerable events on the first time running
RUN touch /tmp/firsttimerunning

# Define working directory.
WORKDIR /root
WORKDIR /opt/tier

0 comments on commit 91a6f65

Please sign in to comment.