Skip to content

Commit

Permalink
fix amazonlinux version
Browse files Browse the repository at this point in the history
  • Loading branch information
antmelekhin committed May 30, 2023
1 parent c567d8b commit 32662c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
- name: 'rockylinux-9'
dockerfile: 'rockylinux/9.Dockerfile'
tags: 'antmelekhin/docker-systemd:rockylinux-9'
- name: 'amazonlinux-2'
dockerfile: 'amazonlinux/2.Dockerfile'
tags: 'antmelekhin/docker-systemd:amazonlinux-2'
- name: 'amazonlinux-2023'
dockerfile: 'amazonlinux/2023.Dockerfile'
tags: 'antmelekhin/docker-systemd:amazonlinux-2023'

steps:
- name: 'Checkout the codebase'
Expand Down
4 changes: 2 additions & 2 deletions amazonlinux/2.Dockerfile → amazonlinux/2023.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ LABEL maintainer='Anton Melekhin'
ENV container=docker

RUN INSTALL_PKGS='findutils initscripts iproute python3 sudo' \
&& yum makecache && yum install -y $INSTALL_PKGS \
&& yum clean all
&& dnf makecache && dnf install -y $INSTALL_PKGS \
&& dnf clean all

RUN find /etc/systemd/system \
/lib/systemd/system \
Expand Down

0 comments on commit 32662c8

Please sign in to comment.