Skip to content

Commit

Permalink
Install iproute, try different multi-line format.
Browse files Browse the repository at this point in the history
  • Loading branch information
mu40 authored Aug 25, 2024
1 parent ad5f469 commit 4c4f344
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ jobs:
uses: actions/checkout@v4
- name: Create Dockerfile
run: |
{
echo 'FROM fedora:latest'
echo 'RUN dnf -y update && dnf install -y systemd'
echo 'COPY . /mnt'
echo 'WORKDIR /mnt'
echo 'ENTRYPOINT ["/sbin/init"]'
} >Dockerfile
echo '
FROM fedora:latest
RUN dnf -y update && dnf install -y iproute systemd
COPY . /mnt
WORKDIR /mnt
ENTRYPOINT ["/sbin/init"]
' >Dockerfile
- name: Build Docker image
run: docker build -t fedora-image .
- name: Launch systemd
Expand Down

0 comments on commit 4c4f344

Please sign in to comment.