forked from shibao/cannery
fix docker versions
This commit is contained in:
parent
3a17c40795
commit
25bca35e0e
@ -1,4 +1,4 @@
|
|||||||
FROM elixir:1.12.2-alpine AS build
|
FROM elixir:1.13-alpine AS build
|
||||||
|
|
||||||
# install build dependencies
|
# install build dependencies
|
||||||
RUN apk add --no-cache build-base npm git python3
|
RUN apk add --no-cache build-base npm git python3
|
||||||
@ -34,7 +34,7 @@ RUN mix do phx.digest, gettext.extract
|
|||||||
RUN mix do compile, release
|
RUN mix do compile, release
|
||||||
|
|
||||||
# prepare release image
|
# prepare release image
|
||||||
FROM alpine:3.9 AS app
|
FROM alpine:latest AS app
|
||||||
|
|
||||||
RUN apk upgrade --no-cache && \
|
RUN apk upgrade --no-cache && \
|
||||||
apk add --no-cache bash openssl libgcc libstdc++ ncurses-libs
|
apk add --no-cache bash openssl libgcc libstdc++ ncurses-libs
|
||||||
|
Loading…
Reference in New Issue
Block a user