Skip to content

Commit

Permalink
Update centos image versions
Browse files Browse the repository at this point in the history
  • Loading branch information
szh committed Dec 20, 2023
1 parent b497074 commit 2a50824
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion dev/test_app_centos/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
FROM centos:7
FROM centos:latest

#
RUN cd /etc/yum.repos.d/
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*

# Install Python so Ansible can run against node
RUN yum update -y && yum install -y python3
2 changes: 1 addition & 1 deletion dev/test_app_ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:20.04
FROM ubuntu:22.04

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

0 comments on commit 2a50824

Please sign in to comment.