Skip to content

Commit 905d337

Browse files
committed
Use latest docker images for CentOS and Fedora
1 parent fc7f200 commit 905d337

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/dockerfiles/Dockerfile_centos

+8-5
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,21 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM centos:7
15+
FROM centos:latest
1616
1717

18-
ENV LANG en_US.UTF-8
19-
ENV LANGUAGE en_US:en
20-
ENV LC_ALL en_US.UTF-8
21-
2218
ARG github_repo=jmcgeheeiv/pyfakefs
2319
ARG github_branch=master
2420

21+
RUN cd /etc/yum.repos.d/
22+
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
23+
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
2524
RUN yum install -y python3-pip unzip wget
2625

26+
ENV LANG en_US.UTF-8
27+
ENV LANGUAGE en_US:en
28+
ENV LC_COLLATE C.UTF-8
29+
2730
RUN useradd -u 1000 pyfakefs
2831

2932
RUN mkdir -p work \

.github/workflows/dockerfiles/Dockerfile_fedora

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM fedora:32
15+
FROM fedora:latest
1616
1717

1818
ENV LANG en_US.UTF-8

0 commit comments

Comments
 (0)