Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Commit

Permalink
dockerfile: add initial (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcoops authored Nov 16, 2021
1 parent f214460 commit e81f145
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM golang:1.16-alpine AS build
WORKDIR /go/src/project/
COPY . /go/src/project/
RUN go build -o /bin/deplist ./cmd/deplist/

FROM registry.fedoraproject.org/fedora:34
RUN dnf install -y \
golang-bin-1.16 \
yarnpkg \
maven \
rubygem-bundler \
npm \
&& dnf clean all
COPY --from=build /bin/deplist /
ENTRYPOINT ["/deplist"]

0 comments on commit e81f145

Please sign in to comment.