Skip to content

Commit

Permalink
update 1.23.1-alpine3.20 + GO111MODULE=on (#1034)
Browse files Browse the repository at this point in the history
* update 1.23.1-alpine3.20 + GO111MODULE=on

* updated to golang 1.21

---------

Co-authored-by: sandeep <[email protected]>
  • Loading branch information
dualfade and ehsandeep authored Oct 28, 2024
1 parent c363368 commit d1ff8c3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
FROM golang:1.20.6-alpine AS builder
FROM golang:1.21-alpine AS build-env
RUN apk add --no-cache git gcc musl-dev
WORKDIR /app
COPY . /app
RUN go mod download
RUN go build ./cmd/katana

FROM alpine:3.18.5
RUN apk -U upgrade --no-cache \
&& apk add --no-cache bind-tools ca-certificates chromium
RUN apk add --no-cache bind-tools ca-certificates chromium
COPY --from=builder /app/katana /usr/local/bin/

ENTRYPOINT ["katana"]

0 comments on commit d1ff8c3

Please sign in to comment.