Skip to content

Commit

Permalink
Add elixir 1.17.1 debian image (#38)
Browse files Browse the repository at this point in the history
* Add elixir 1.17.1 debian image

* Bump alpine versions

* Use postgresql-client-14
  • Loading branch information
joecorkerton authored Jun 26, 2024
1 parent 1005a86 commit 49e5508
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 11 deletions.
31 changes: 24 additions & 7 deletions .github/workflows/elixir-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,40 @@ jobs:
uses: ./.github/actions/push-image
with:
image_name: ghcr.io/multiverse-io/elixir-ci
image_tag: 1.15.7-erlang-26.1.2-alpine-3.18.4
image_tag: 1.15.8-erlang-26.2.5-alpine-3.20.1
context: ./elixir-ci/alpine
registry_password: ${{ secrets.GITHUB_TOKEN }}
lacework_access_token: ${{ secrets.LW_ACCESS_TOKEN }}
build_args: |
ELIXIR_VERSION=1.15.7
ERLANG_VERSION=26.1.2
ALPINE_VERSION=3.18.4
ELIXIR_VERSION=1.15.8
ERLANG_VERSION=26.2.5
ALPINE_VERSION=3.20.1
- name: Build and push Debian image otp 26 elixir 1.17
uses: ./.github/actions/push-image
with:
image_name: ghcr.io/multiverse-io/elixir-ci
image_tag: 1.17.1-erlang-26.2.5-debian-bookworm-20240612-slim
context: ./elixir-ci/debian
registry_password: ${{ secrets.GITHUB_TOKEN }}
lacework_access_token: ${{ secrets.LW_ACCESS_TOKEN }}
build_args: |
ELIXIR_VERSION=1.17.1
ERLANG_VERSION=26.2.5
DEBIAN_VERSION=bookworm-20240612-slim
- name: Build and push Alpine image otp 26
uses: ./.github/actions/push-image
with:
image_name: ghcr.io/multiverse-io/elixir-ci
image_tag: 1.14.5-erlang-26.1.2-alpine-3.18.4
image_tag: 1.14.5-erlang-26.2.5-alpine-3.20.1
context: ./elixir-ci/alpine
registry_password: ${{ secrets.GITHUB_TOKEN }}
lacework_access_token: ${{ secrets.LW_ACCESS_TOKEN }}
build_args: |
ELIXIR_VERSION=1.14.5
ERLANG_VERSION=26.1.2
ALPINE_VERSION=3.18.4
ERLANG_VERSION=26.2.5
ALPINE_VERSION=3.20.1
- name: Build and push Debian image
uses: ./.github/actions/push-image
Expand All @@ -51,3 +64,7 @@ jobs:
context: ./elixir-ci/debian
registry_password: ${{ secrets.GITHUB_TOKEN }}
lacework_access_token: ${{ secrets.LW_ACCESS_TOKEN }}
build_args: |
ELIXIR_VERSION=1.16.0
ERLANG_VERSION=26.2.1
DEBIAN_VERSION=bookworm-20231009-slim
6 changes: 3 additions & 3 deletions elixir-ci/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ ARG ALPINE_VERSION

FROM hexpm/elixir:${ELIXIR_VERSION}-erlang-${ERLANG_VERSION}-alpine-${ALPINE_VERSION}

RUN apk add --no-cache curl python3 py3-pip postgresql13-client jq nodejs~=18 yarn bc git build-base imagemagick brotli chromium bash openssh-client docker-cli xvfb libc6-compat tar
RUN apk add --no-cache curl python3 py3-pip postgresql14-client jq nodejs~=20 yarn bc git build-base imagemagick brotli chromium bash openssh-client docker-cli xvfb libc6-compat tar

RUN apk upgrade --no-cache

RUN pip install -U pip
RUN pip install -U pip --break-system-packages

RUN pip install awscli virtualenv requests boto3 --upgrade
RUN pip install awscli virtualenv requests boto3 --upgrade --break-system-packages

RUN mix local.hex --force
RUN mix local.rebar --force
Expand Down
6 changes: 5 additions & 1 deletion elixir-ci/debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
FROM hexpm/elixir:1.16.0-erlang-26.2.1-debian-bookworm-20231009-slim
ARG ELIXIR_VERSION
ARG ERLANG_VERSION
ARG DEBIAN_VERSION

FROM hexpm/elixir:${ELIXIR_VERSION}-erlang-${ERLANG_VERSION}-debian-${DEBIAN_VERSION}

ARG DEBIAN_FRONTEND=noninteractive
RUN apt update -y
Expand Down

0 comments on commit 49e5508

Please sign in to comment.