From 0d197401a2c236741588416366f878cba59dfa48 Mon Sep 17 00:00:00 2001 From: Guillaume Tardif Date: Mon, 26 Oct 2020 16:42:51 +0100 Subject: [PATCH] Fix Dockerfile syntax in ecs sidecars introduced by https://github.com/docker/compose-cli/pull/799 Signed-off-by: Guillaume Tardif --- ecs/resolv/Dockerfile | 2 +- ecs/secrets/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ecs/resolv/Dockerfile b/ecs/resolv/Dockerfile index 2f6a2c3dd..52b335ce8 100644 --- a/ecs/resolv/Dockerfile +++ b/ecs/resolv/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM FROM golang:1.15 AS builder +FROM golang:1.15 AS builder WORKDIR $GOPATH/src/github.com/docker/compose-cli/ecs/resolv COPY . . RUN CGO_ENABLED=0 go build -ldflags="-w -s" -o /go/bin/resolv main/main.go diff --git a/ecs/secrets/Dockerfile b/ecs/secrets/Dockerfile index 85fdadd9e..560057d9f 100644 --- a/ecs/secrets/Dockerfile +++ b/ecs/secrets/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM FROM golang:1.15 AS builder +FROM golang:1.15 AS builder WORKDIR $GOPATH/src/github.com/docker/compose-cli/ecs/secrets COPY . . RUN CGO_ENABLED=0 go build -ldflags="-w -s" -o /go/bin/secrets main/main.go