Skip to content

Commit

Permalink
fix: taproot-assets
Browse files Browse the repository at this point in the history
  • Loading branch information
vafanassieff committed Oct 12, 2023
1 parent a0e94d1 commit d727b31
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docker/taproot-assets/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,18 @@ ARG VERSION
ARG COMMIT

ENV GODEBUG netdns=cgo
ENV GO111MODULE on
ENV TAPROOT_ASSETS_PKG_DIR="/go/src/github.com/lightninglabs/taproot-assets"
ENV PKG_DIR="/go/src/github.com/lightninglabs/taproot-assets"

RUN apk add --no-cache --update \
make \
git \
gcc

RUN git clone https://github.com/lightninglabs/taproot-assets.git ${TAPROOT_ASSETS_PKG_DIR} && \
cd ${TAPROOT_ASSETS_PKG_DIR} && \
RUN git clone https://github.com/lightninglabs/taproot-assets.git ${PKG_DIR} && \
cd ${PKG_DIR} && \
if [[ -z "$COMMIT" ]] ; then git checkout ${VERSION} ; else git checkout ${COMMIT} ; fi

RUN cd ${TAPROOT_ASSETS_PKG_DIR} && make install
RUN cd ${PKG_DIR} && if [[ -z "$COMMIT" ]] ; then make release-install ; else make install ; fi

FROM lnmarkets/base-alpine:3.18

Expand Down

0 comments on commit d727b31

Please sign in to comment.