Skip to content

Commit

Permalink
Use bash instead of sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-bennett authored Sep 24, 2024
1 parent 78af734 commit 8179c1e
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
@@ -1,5 +1,6 @@
FROM ubuntu:22.04
MAINTAINER Jonathan Bennett
SHELL ["/bin/bash", "-c"]
RUN <<EOF
useradd ubuntu -m -s /bin/bash
usermod -a -G sudo ubuntu
Expand All @@ -14,7 +15,6 @@ WORKDIR /home/ubuntu
USER ubuntu

RUN <<EOF
su ubuntu
cd /home/ubuntu
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')
Expand Down

0 comments on commit 8179c1e

Please sign in to comment.