Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General use for other application #38

Closed
vianhanif opened this issue Aug 30, 2019 · 0 comments
Closed

General use for other application #38

vianhanif opened this issue Aug 30, 2019 · 0 comments

Comments

@vianhanif
Copy link

using the base image, should it be possible for other type of application? for example in my case, I'm using Golang and chromedp.

currently I'm trying this Dockerfile

FROM golang:1.11-alpine as builder
WORKDIR /app
COPY go.mod . 
COPY go.sum .

RUN apk add --no-cache ca-certificates git

# Get dependancies - will also be cached if we won't change mod/sum
RUN go mod download

COPY . .
RUN CGO_ENABLED=0 GOARCH=amd64 go install -installsuffix "static" ./cmd/worker/app/...

FROM markadams/chromium-xvfb
COPY --from=builder /go/bin /bin
ENTRYPOINT ["/bin/app"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant