Skip to content

Commit

Permalink
Add docker symlink instead of alias
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-bennett authored Sep 19, 2024
1 parent 2e00811 commit b1ea534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ apt update
apt upgrade -y
apt install curl pip git python3-venv pkg-config libicu-dev sudo podman -y
sed -i /etc/sudoers -re 's/^%sudo.*/%sudo ALL=(ALL:ALL) NOPASSWD: ALL/g'
ln -s /usr/bin/podman /usr/bin/docker
EOF

WORKDIR /home/ubuntu
Expand All @@ -15,7 +16,6 @@ USER ubuntu
RUN <<EOF
su ubuntu
cd /home/ubuntu
echo 'alias docker="podman"' >> ./.bashrc
mkdir runner
latest_runner_version=$(curl -I -v -s https://github.com/actions/runner/releases/latest 2>&1 | perl -ne 'next unless s/^< location: //; s{.*/v}{}; s/\s+//; print')
curl -sL "https://github.com/actions/runner/releases/download/v${latest_runner_version}/actions-runner-linux-x64-${latest_runner_version}.tar.gz" | tar xzvC ./runner/
Expand Down

0 comments on commit b1ea534

Please sign in to comment.