Base image for building typical Elixir apps at RentPath
10K+
.tar.gz from https://github.com/elixir-lang/elixir/releases/tag/<elixir version>..tar.gz file with sha256sum. You can also use shasum -a 256 <filename> on macOS.ELIXIR_VERSION and ELIXIR_VERSION_SHA in Dockerfile.FROM statement.service-image GitHub Action workflow.v1.9.4-alpine-3.14.6-otp-22This version is unfortunately needed by maestro (and possibly other apps) which can't be upgraded to Elixir 1.12 and/or
OTP 24 at this time.
cd into it.cd 22/alpineDockerfile. Change the FROM statement to use alpine:3.14.6.docker build -t ghcr.io/rentpath/rp_elixir:otp-22.3.4.25-alpine-3.14.6 .docker push ghcr.io/rentpath/rp_elixir:otp-22.3.4.25-alpine-3.14.6https://github.com/elixir-lang/elixir/archive/refs/tags/v1.9.4.tar.gz.sha256sum elixir-1.9.4.tar.gzshasum -a 256 elixir-1.9.4.tar.gzcd into it.Dockerfile.
FROM statement to use ghcr.io/rentpath/rp_elixir:otp-22.3.4.25-alpine-3.14.6.ELIXIR_VERSION to v1.9.4.ELIXIR_VERSION_SHA to the digest computed in step 6.docker build -t ghcr.io/rentpath/rp_elixir:v1.9.4-alpine-3.14.6-otp-22 .docker push ghcr.io/rentpath/rp_elixir:v1.9.4-alpine-3.14.6-otp-22The above Linux/amd64 images do not run locally on development computers based on Apple silicon. A base Elixir image for local development can be built by executing the following bash command from the project root.
(docker build . &&
image=$(docker build --quiet .) &&
tag=$(.github/workflows/scripts/service-image-tag.sh ${image}) &&
docker build --tag ${tag} .)
Content type
Image
Digest
sha256:1ed30839d…
Size
57.2 MB
Last updated
over 2 years ago
docker pull rentpath/rp_elixir