Skip to content

Commit

Permalink
Updated Compilers and base image
Browse files Browse the repository at this point in the history
  • Loading branch information
madduci committed Aug 15, 2023
1 parent eb9f9d2 commit 6c609a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
# Note: tags has to be all lower-case
tags: |
madduci/docker-linux-cpp:latest
madduci/docker-linux-cpp:1.9
madduci/docker-linux-cpp:1.10
# build on feature branches, push only on master branch
push: ${{ github.ref == 'refs/heads/master' }}

- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
run: echo ${{ steps.docker_build.outputs.digest }}
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM ubuntu:20.04
FROM ubuntu:22.04

LABEL maintainer="Michele Adduci <[email protected]>" \
license="MIT"

WORKDIR /project

ARG DEB_COMPILERS="g++-9 g++-10 g++-11"
ARG EXTRA_CLANG_COMPILERS="13 14 15"
ARG DEB_COMPILERS="g++-11 g++-12"
ARG EXTRA_CLANG_COMPILERS="15 16"

RUN echo "Installing required packages " \
&& export DEBIAN_FRONTEND=noninteractive \
Expand All @@ -27,4 +27,4 @@ RUN echo "Installing C++ Compilers" \
&& chmod +x /install_compilers.sh \
&& sh /install_compilers.sh "${DEB_COMPILERS}" "${EXTRA_CLANG_COMPILERS}"

ENTRYPOINT [ "/usr/bin/g++-11" ]
ENTRYPOINT [ "/usr/bin/g++-12" ]

0 comments on commit 6c609a4

Please sign in to comment.