Avoid 'Update frontend' commits with Dockerfile build-args

This commit is contained in:
Kristóf Tóth 2019-10-31 15:17:43 +01:00
parent 135760854e
commit ac198e5731

View File

@ -1,5 +1,9 @@
FROM avatao/frontend-tutorial-framework:chausie-20191021 as frontend ARG FRONTEND_VERSION
FROM avatao/frontend-tutorial-framework:${FRONTEND_VERSION} as frontend
FROM avatao/debian:buster FROM avatao/debian:buster
ARG FRONTEND_VERSION
LABEL tfw.frontend.version=${FRONTEND_VERSION}
RUN apt-get update &&\ RUN apt-get update &&\
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \