Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Update go 1.20.7 #58

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

jusplainmike
Copy link

Update the Dockerfile to build against the updated go base.

Update the Dockerfile to build against the updated go base.
FROM golang:1.16.3-alpine AS build
WORKDIR $GOPATH/src/github.com/micromata/dave/
FROM golang:1.20.7-alpine AS build
WORKDIR $GOPATH/src/github.com/jusplainmike/dave/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hej, could you please modify the basename to micromata?

Thanks! 😎

COPY . .
RUN go build -o /go/bin/dave cmd/dave/main.go
RUN go build -o /go/bin/davecli cmd/davecli/main.go

FROM alpine:latest
RUN adduser -S dave
RUN addgroup -g 1000 dave
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants