Skip to content

Commit 2a50824

Browse files
committed
Update centos image versions
1 parent b497074 commit 2a50824

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

dev/test_app_centos/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
FROM centos:7
1+
FROM centos:latest
2+
3+
#
4+
RUN cd /etc/yum.repos.d/
5+
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
6+
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
27

38
# Install Python so Ansible can run against node
49
RUN yum update -y && yum install -y python3

dev/test_app_ubuntu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:20.04
1+
FROM ubuntu:22.04
22

33
# Install Python so Ansible can run against node
44
RUN apt-get update -y && apt-get install -y python3-minimal

0 commit comments

Comments
 (0)