fix: unpin alpine, use latest everywhere

This commit is contained in:
Amogh Lele 2023-02-27 16:53:04 +05:30 committed by GitHub
parent edbee59f23
commit fee202137c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
FROM elixir:1.12-alpine AS build FROM elixir AS build
# install build dependencies # install build dependencies
RUN apk add --no-cache build-base npm git curl py-pip rust cargo RUN apk add --no-cache build-base npm git curl py-pip rust cargo
@ -34,7 +34,7 @@ RUN mix phx.digest
RUN mix do compile, release RUN mix do compile, release
# prepare release image # prepare release image
FROM alpine:3.9 AS app FROM alpine AS app
RUN apk add --no-cache openssl ncurses-libs libstdc++ RUN apk add --no-cache openssl ncurses-libs libstdc++
WORKDIR /app WORKDIR /app