Skip to content

Commit

Permalink
Use latest docker images for CentOS and Fedora
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbean-bremen committed Sep 4, 2022
1 parent fc7f200 commit 905d337
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/dockerfiles/Dockerfile_centos
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,21 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM centos:7
FROM centos:latest
MAINTAINER jmcgeheeiv@users.noreply.github.com

ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

ARG github_repo=jmcgeheeiv/pyfakefs
ARG github_branch=master

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-*
RUN yum install -y python3-pip unzip wget

ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_COLLATE C.UTF-8

RUN useradd -u 1000 pyfakefs

RUN mkdir -p work \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockerfiles/Dockerfile_fedora
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM fedora:32
FROM fedora:latest
MAINTAINER jmcgeheeiv@users.noreply.github.com

ENV LANG en_US.UTF-8
Expand Down

0 comments on commit 905d337

Please sign in to comment.