Skip to content

Commit

Permalink
Merge pull request #94
Browse files Browse the repository at this point in the history
Updated Dockerfile and HNSD
  • Loading branch information
bsrinivas8687 authored Mar 31, 2022
2 parents b2d4df2 + 57e95f7 commit b87b457
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:alpine3.13 AS build
FROM golang:alpine3.15 AS build

COPY . /go/src/github.com/sentinel-official/dvpn-node/

Expand All @@ -8,11 +8,11 @@ RUN apk add git gcc linux-headers make musl-dev && \

RUN cd /root/ && \
apk add autoconf automake file g++ git libtool make unbound-dev && \
git clone https://github.com/handshake-org/hnsd.git --branch=v1.0.0 --depth=1 && \
git clone https://github.com/handshake-org/hnsd.git --branch=master --depth=1 && \
cd /root/hnsd/ && \
bash autogen.sh && sh configure && make --jobs=$(nproc)

FROM alpine:3.13
FROM alpine:3.15

COPY --from=build /go/bin/sentinelnode /usr/local/bin/process
COPY --from=build /root/hnsd/hnsd /usr/local/bin/hnsd
Expand Down

0 comments on commit b87b457

Please sign in to comment.