Skip to content

Commit

Permalink
fix(Dockerfile): warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
m0nhawk authored Sep 12, 2024
1 parent a4dd9b9 commit e0af2ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG AZLINUX_BASE_VERSION=master

#FROM 707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/golang-build-base:${AZLINUX_BASE_VERSION} as base
FROM --platform=$BUILDPLATFORM quay.io/cdis/golang-build-base:${AZLINUX_BASE_VERSION} as base
FROM --platform=$BUILDPLATFORM quay.io/cdis/golang-build-base:${AZLINUX_BASE_VERSION} AS base

ARG TARGETOS
ARG TARGETARCH
Expand All @@ -12,8 +12,8 @@ ENV CGO_ENABLED=0
ENV GOOS=${TARGETOS}
ENV GOARCH=${TARGETARCH}

FROM base as builder
WORKDIR $GOPATH/src/github.com/uc-cdis/cohort-middleware/
FROM base AS builder
WORKDIR /app/

COPY go.mod go.sum ./
RUN go mod download
Expand Down

0 comments on commit e0af2ae

Please sign in to comment.