From 19f53e1457d3622932301bdb282a0cf2319ff3a4 Mon Sep 17 00:00:00 2001 From: NI Date: Sun, 25 Aug 2019 08:19:16 +0800 Subject: [PATCH] "as" should be all uppercased --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index fabf350..741a32f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the build base environment -FROM debian:sid as base +FROM debian:sid AS base COPY . /tmp/.build/sshwifty RUN set -ex && \ cd / && \ @@ -13,7 +13,7 @@ RUN set -ex && \ try.sh install.sh && rm /install.sh # Build the base environment for application libraries -FROM base as libbase +FROM base AS libbase RUN set -ex && \ cd / && \ export PATH=$PATH:/ && \ @@ -24,7 +24,7 @@ RUN set -ex && \ 'cd /tmp/.build/sshwifty && try.sh go mod download' # Main building environment -FROM libbase as builder +FROM libbase AS builder RUN set -ex && \ cd / && \ export PATH=$PATH:/ && \