Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 45b0416

Browse filesBrowse files
committed
chore(Dockerfile): update base image and install additional packages
- Updated the Dockerfile to use a new base image. - Installed additional necessary packages such as curl, wget, jq, zip, and unzip. - Organized the installation of packages into sections for better readability. - Removed duplicate lines in the Dockerfile.
1 parent 3545ef0 commit 45b0416
Copy full SHA for 45b0416

File tree

2 files changed

+11
-10
lines changed
Filter options

2 files changed

+11
-10
lines changed

‎src/images/base/Dockerfile

Copy file name to clipboardExpand all lines: src/images/base/Dockerfile
+11-6Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN export RUNNER_ARCH=${TARGETARCH} \
2828
&& rm -rf docker.tgz \
2929
&& mkdir -p /usr/local/lib/docker/cli-plugins \
3030
&& curl -fLo /usr/local/lib/docker/cli-plugins/docker-buildx \
31-
"https://github.com/docker/buildx/releases/download/v${BUILDX_VERSION}/buildx-v${BUILDX_VERSION}.linux-${TARGETARCH}" \
31+
"https://github.com/docker/buildx/releases/download/v${BUILDX_VERSION}/buildx-v${BUILDX_VERSION}.linux-${TARGETARCH}" \
3232
&& chmod +x /usr/local/lib/docker/cli-plugins/docker-buildx
3333

3434
FROM mcr.microsoft.com/dotnet/runtime-deps:8.0
@@ -41,11 +41,16 @@ ENV ACTIONS_RUNNER_PRINT_LOG_TO_STDOUT=1
4141
ENV DOTNET_INSTALL_DIR=./.dotnet
4242

4343
RUN apt update -y && \
44-
apt install -y --no-install-recommends sudo lsb-release gpg-agent software-properties-common python3-launchpadlib &&\
45-
add-apt-repository ppa:git-core/ppa && \
46-
apt update -y && \
47-
apt install -y git && \
48-
rm -rf /var/lib/apt/lists/*
44+
# base packages
45+
apt install -y --no-install-recommends sudo lsb-release gpg-agent software-properties-common ca-certificates && \
46+
# install git
47+
apt install -y python3-launchpadlib && add-apt-repository ppa:git-core/ppa && apt update -y && apt install -y git && \
48+
# install base software
49+
apt install -y --no-install-recommends \
50+
curl wget jq \
51+
zip unzip \
52+
zip unzip \
53+
&& rm -rf /var/lib/apt/lists/*
4954

5055
RUN adduser --disabled-password --gecos "" --uid 1001 runner \
5156
&& groupadd docker --gid 123 \

‎src/images/default/Dockerfile

Copy file name to clipboard
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
FROM actions-runner-base
22

3-
RUN apt update -y && \
4-
apt install curl unzip -y && \
5-
rm -rf /var/lib/apt/lists/*
6-
73
USER runner

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.