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

chore: add git in Docker Image #83

Merged
merged 1 commit into from
Mar 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ FROM golang:alpine as builder

RUN apk add --no-cache make git gcc musl-dev

ENV REPOSITORY github.com/prince-chrismc/go-exploitdb
ENV REPOSITORY github.com/vulsio/go-exploitdb
COPY . $GOPATH/src/$REPOSITORY
RUN cd $GOPATH/src/$REPOSITORY && make install

FROM alpine:3.14
FROM alpine:3.15

LABEL maintainer princechrismc
LABEL maintainer vulsio

ENV LOGDIR /var/log/go-exploitdb
ENV WORKDIR /go-exploitdb

RUN apk add --no-cache ca-certificates \
RUN apk add --no-cache git ca-certificates \
&& mkdir -p $WORKDIR $LOGDIR

COPY --from=builder /go/bin/go-exploitdb /usr/local/bin/
Expand Down