Skip to content
Permalink
Browse files

Merge pull request #8 from docker/packages-fhs-fixes

Packages & FHS fixes
  • Loading branch information
Leo Luduena
Leo Luduena committed Aug 12, 2016
2 parents 5590fbe + 91a6f65 commit 05cc252a0be040d0a2254cbc3bb064f5a382dc74
Showing with 6 additions and 5 deletions.
  1. +6 −5 Dockerfile
@@ -1,4 +1,5 @@
FROM centos:centos7
ENV REFRESHED_AT 2016-08-09

# Define args and set a default value
ARG maintainer=tier
@@ -15,21 +16,21 @@ LABEL Version=$version
LABEL Build docker build --rm --tag $maintainer/$imagename .

# Install base deps
RUN yum -y install epel-release && yum -y update && yum clean all
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 -y update && yum clean all
yum -y install net-tools wget curl tar unzip mlocate logrotate strace telnet man unzip vim wget rsyslog cron && \
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 05cc252

Please sign in to comment.
You can’t perform that action at this time.