Skip to content

Commit

Permalink
DRAFT: APKO build
Browse files Browse the repository at this point in the history
  • Loading branch information
msfidelis committed Jun 19, 2024
1 parent 2a3fde5 commit 34cdad1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:1.22 AS builder
FROM fidelissauro/apko-go:latest-amd64 AS builder

WORKDIR $GOPATH/src/chip
WORKDIR /root/src/chip

COPY . ./

Expand All @@ -13,9 +13,9 @@ RUN swag init
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main .


FROM cgr.dev/chainguard/wolfi-base:latest
FROM fidelissauro/apko-run:latest-amd64

COPY --from=builder /go/src/chip/main ./
COPY --from=builder /root/src/chip/main ./

EXPOSE 8080

Expand Down

0 comments on commit 34cdad1

Please sign in to comment.