bumped up alpine to 3.12

This commit is contained in:
Vladimir Che 2020-09-10 21:26:14 +03:00
parent 352e7d388a
commit 810f773a5b
No known key found for this signature in database
GPG Key ID: FBA583B0D69086B9

View File

@ -1,4 +1,4 @@
FROM alpine:3.11 AS builder
FROM alpine:3.12 AS builder
LABEL maintainer="k@ndk.name"
ARG BUILD_DEPENDENCIES="build-base \
@ -17,8 +17,7 @@ ENV LC_ALL=en_US.UTF-8 \
FLASK_APP=/build/powerdnsadmin/__init__.py
# Get dependencies
RUN apk add --no-cache ${BUILD_DEPENDENCIES} && \
ln -s /usr/bin/pip3 /usr/bin/pip
RUN apk add --no-cache ${BUILD_DEPENDENCIES}
WORKDIR /build
@ -72,7 +71,7 @@ RUN pip install pip-autoremove && \
# Build image
FROM alpine:3.11
FROM alpine:3.12
ENV FLASK_APP=/app/powerdnsadmin/__init__.py