Use alpine 3.9 for docker. Fixes #15

See https://github.com/erlang/docker-erlang-otp/issues/235
This commit is contained in:
Sergey Prokhorov 2019-08-07 22:36:23 +02:00
parent 2371703207
commit d5d8b0d98e
No known key found for this signature in database
GPG key ID: 1C570244E4EF3337

View file

@ -1,6 +1,6 @@
# Based on https://github.com/erlang/docker-erlang-example
FROM erlang:alpine as builder
FROM erlang:21-alpine as builder
RUN apk add --no-cache git
@ -17,7 +17,7 @@ RUN if [ ! -f config/prod-vm.args ]; then cp config/vm.args.example config/prod-
RUN rebar3 as prod release
FROM alpine
FROM alpine:3.9
RUN apk add --no-cache openssl && \
apk add --no-cache ncurses-libs && \
apk add --no-cache dumb-init