added a little more information to the builder Dockerfile (#6)

This commit is contained in:
martin 2024-02-11 11:33:43 +01:00 committed by GitHub
parent 04290ff6f2
commit cf59759445
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View File

@ -29,7 +29,7 @@ jobs:
- -
name: Build docker builder-image name: Build docker builder-image
if: steps.cache-docker.outputs.cache-hit != 'true' if: steps.cache-docker.outputs.cache-hit != 'true'
uses: docker/build-push-action@v4 uses: docker/build-push-action@v5
with: with:
context: . context: .
file: builder.Dockerfile file: builder.Dockerfile

View File

@ -1,3 +1,7 @@
# update the base_tag to the version of the base image
# e.g., "bullseye" is currently (2024-02) still the latest version for vscode devcontainers:
# https://hub.docker.com/_/microsoft-vscode-devcontainers
ARG base_tag=bullseye ARG base_tag=bullseye
ARG base_img=mcr.microsoft.com/vscode/devcontainers/base:dev-${base_tag} ARG base_img=mcr.microsoft.com/vscode/devcontainers/base:dev-${base_tag}
# ARG base_img=debian:${base_tag} # ARG base_img=debian:${base_tag}
@ -8,6 +12,9 @@ FROM --platform=linux/amd64 ${base_img} AS builder-install
# you can determine the installed version with `apt-cache policy <list of packages>` and fix # you can determine the installed version with `apt-cache policy <list of packages>` and fix
# the version to install with <package>=<version> in the list below. # the version to install with <package>=<version> in the list below.
# notice that ruby is being installed for ceedling and would otherwise most likely not be needed
# https://www.throwtheswitch.org/ceedling
RUN apt-get update --fix-missing && apt-get -y upgrade RUN apt-get update --fix-missing && apt-get -y upgrade
RUN apt-get install -y --no-install-recommends \ RUN apt-get install -y --no-install-recommends \
apt-utils \ apt-utils \