Skip to content

Commit

Permalink
added centos7 base image definition. (#37)
Browse files Browse the repository at this point in the history
noting this is a minimal first step to base the CI setup needed for weekly images.
  • Loading branch information
jprosser authored Nov 1, 2023
1 parent 3f10286 commit 455d0de
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
16 changes: 16 additions & 0 deletions images/centos7/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM centos:centos7

LABEL org.opencontainers.image.vendor="UW-IT" \
org.opencontainers.image.authors="Justin Prosser"

# dump out container image details for the logs
RUN echo "hello centos (amd64, arm64, ppc64)"
RUN echo -n "current OS is: "; uname -p

# Pull latest CentOS 7 updates
RUN yum update -y
RUN yum erase -y linux-firmware
RUN yum clean all
RUN localedef -i en_US -f UTF-8 en_US.UTF-8

CMD uname -a && sleep infinity
3 changes: 3 additions & 0 deletions images/centos7/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Cent OS 7 base image

This the IAM CentOS 7 base image providing a weekly(?) updated base to build containers from.

0 comments on commit 455d0de

Please sign in to comment.