Skip to content

Commit

Permalink
chore: add git in Docker Image (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaineK00n authored Mar 25, 2022
1 parent 8af7dcb commit 142d5e4
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
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

0 comments on commit 142d5e4

Please sign in to comment.