Skip to content

Commit 14a1589

Browse files
updated docker file
1 parent 57a826b commit 14a1589

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/scripts/ppc64le/self-hosted-builder/actions-runner.Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,13 @@ RUN git clone -q ${RUNNERREPO} /tmp/runner && \
7575
mkdir -p /opt/runner && \
7676
tar -xf /tmp/runner/_package/*.tar.gz -C /opt/runner && \
7777
chown -R runner:runner /opt/runner && \
78-
rm -rf /tmp/runner /tmp/runner.patch /root/.dotnet /root/.nuget
78+
su -c "/opt/runner/config.sh --version" runner && \
79+
rm -rf /root/.dotnet /root/.nuget
80+
81+
RUN mkdir -p /opt/runner && \
82+
tar -xf /tmp/runner/_package/*.tar.gz -C /opt/runner && \
83+
chown -R runner:runner /opt/runner && \
84+
su -c "/opt/runner/config.sh --version" runner
7985

8086
# Copy custom scripts and set permissions
8187
COPY fs/ /

0 commit comments

Comments
 (0)