Skip to content

Commit

Permalink
Merge pull request #545 from apigee/issue544
Browse files Browse the repository at this point in the history
chore: fixes case in dockerfile
  • Loading branch information
ssvaidyanathan authored Sep 24, 2024
2 parents 7619bd5 + 58869d5 commit 47caa16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.21 as builder
FROM golang:1.21 AS builder

ARG TAG
ARG COMMIT
Expand All @@ -30,7 +30,7 @@ RUN go mod download
RUN date +%FT%H:%I:%M+%Z > /tmp/date
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -buildvcs=true -a -gcflags='all="-l"' -ldflags='-s -w -extldflags "-static" -X main.version='${TAG}' -X main.commit='${COMMIT}' -X main.date='$(cat /tmp/date) -o /go/bin/apigeecli /go/src/apigeecli/cmd/apigeecli/apigeecli.go

FROM ghcr.io/jqlang/jq:latest as jq
FROM ghcr.io/jqlang/jq:latest AS jq

# use debug because it includes busybox
FROM gcr.io/distroless/static-debian11:debug-nonroot
Expand Down

0 comments on commit 47caa16

Please sign in to comment.