Permalink
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
base/Dockerfile
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Jim Van Fleet
Attempt a secure connection to an InCommon SSL site (#6)
* Attempt a secure connection to an InCommon SSL site * Adding and installing trusted certs * Added InCommon cert * Force image removal * Test for working connection with InCommon cert chain * Removed tty * Added template files from util project. * Added centos7base as imagename * Using common variables in script
34 lines (26 sloc)
937 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:centos7 | |
# Define args and set a default value | |
ARG maintainer=tier | |
ARG imagename=centos7base | |
MAINTAINER $maintainer | |
LABEL Vendor="Internet2" | |
LABEL ImageType="Base" | |
LABEL ImageName=$imagename | |
LABEL ImageOS=centos7 | |
LABEL Version=1.0 | |
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 | |
# 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 | |
# Allow triggerable events on the first time running | |
RUN touch /tmp/firsttimerunning | |
# Define working directory. | |
WORKDIR /root |