From 9711fa1f2471b12ddf93d667cd10996f01ea0593 Mon Sep 17 00:00:00 2001 From: Neal Clark Date: Fri, 18 Jun 2021 09:33:44 -0700 Subject: [PATCH] Update "Deploying with Docker" docs for Elixir 1.12 includes libstdc++ in final image for OTP 24 --- docs/guides/working_with_docker.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/guides/working_with_docker.md b/docs/guides/working_with_docker.md index 8632d656..d6633bba 100644 --- a/docs/guides/working_with_docker.md +++ b/docs/guides/working_with_docker.md @@ -28,9 +28,9 @@ following content: ```docker # The version of Alpine to use for the final image # This should match the version of Alpine that the `elixir:1.7.2-alpine` image uses -ARG ALPINE_VERSION=3.8 +ARG ALPINE_VERSION=3.13 -FROM elixir:1.7.2-alpine AS builder +FROM elixir:1.12.1-alpine AS builder # The following are build arguments used to change variable parts of the image. # The name of your application/release (required) @@ -98,7 +98,8 @@ ARG APP_NAME RUN apk update && \ apk add --no-cache \ bash \ - openssl-dev + openssl-dev \ + libstdc++ ENV REPLACE_OS_VARS=true \ APP_NAME=${APP_NAME}