Skip to content

Commit 2b2a329

Browse files
kilraumichael1011
andauthored
chore: upgrade alpine 3.11 -> 3.12, go1.13 -> go1.14 (#758)
* chore upgrade alpine 3.11 -> 3.12, go1.13 -> go1.14 * fix: image builds with alpine 3.12 Co-authored-by: michael1011 <[email protected]>
1 parent 12b6c48 commit 2b2a329

File tree

15 files changed

+34
-34
lines changed

15 files changed

+34
-34
lines changed

images/arby/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM node:12-alpine3.11 AS builder
1+
FROM node:12-alpine3.12 AS builder
22
RUN apk add --no-cache git bash
33
WORKDIR /arby
44
ADD .src .
55
RUN npm install
66

7-
FROM node:12-alpine3.11
7+
FROM node:12-alpine3.12
88
RUN apk add --no-cache bash supervisor curl rsync
99
RUN mkdir /root/.arby
1010
VOLUME [ "/root/.arby" ]

images/bitcoind/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
FROM alpine:3.11 as builder
1+
FROM alpine:3.12 as builder
22
RUN apk --no-cache add musl-dev g++ make autoconf automake libtool pkgconfig boost-dev libevent-dev zeromq-dev
33
WORKDIR /bitcoin
44
ADD .src .
55
RUN ./autogen.sh
6-
RUN ./configure --disable-ccache --disable-tests --disable-bench --without-gui --with-daemon --with-utils --without-libs --disable-wallet
6+
RUN ./configure --disable-ccache --disable-tests --disable-bench --without-gui --with-daemon --with-utils --without-libs --disable-wallet --enable-endomorphism
77
RUN make -j$(nproc)
88
RUN make install
99
RUN strip /usr/local/bin/bitcoind /usr/local/bin/bitcoin-cli
1010

1111

12-
FROM alpine:3.11
12+
FROM alpine:3.12
1313
RUN apk --no-cache add boost-system boost-filesystem boost-chrono boost-thread libevent zeromq bash
1414
COPY --from=builder /usr/local/bin/bitcoind /usr/local/bin/bitcoin-cli /usr/local/bin/
1515
ENTRYPOINT ["bitcoind"]

images/boltz/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM golang:1.14-alpine3.11 as builder
1+
FROM golang:1.14-alpine3.12 as builder
22
RUN apk add --no-cache bash git make gcc libc-dev
33
WORKDIR $GOPATH/src/github.com/BoltzExchange/boltz-lnd
44
ADD .src .
55
RUN go mod vendor
66
RUN make install
77

88
# Final stage
9-
FROM alpine:3.11
9+
FROM alpine:3.12
1010
RUN apk add --no-cache bash expect supervisor tor
1111
COPY --from=builder /go/bin/boltzd /go/bin/boltzcli /usr/local/bin/
1212
COPY --from=builder /go/src/github.com/BoltzExchange/boltz-lnd/example/config.toml /sample-config.toml

images/connext/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM node:12-alpine3.11 AS builder
2-
RUN apk add --no-cache git bash python3 make g++ python
1+
FROM node:12-alpine3.12 AS builder
2+
RUN apk add --no-cache git bash python3 make g++ python2
33
WORKDIR /connext
44
ADD .src .
55
RUN npm install
66
RUN npm run build
77

8-
FROM node:12-alpine3.11
8+
FROM node:12-alpine3.12
99
RUN apk add --no-cache bash supervisor curl
1010
RUN mkdir /root/.connext
1111
COPY --from=builder /connext /app

images/geth/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM golang:1.14-alpine as builder
1+
FROM golang:1.14-alpine3.12 as builder
22
RUN apk add --no-cache make gcc musl-dev linux-headers git
33
RUN apk add --no-cache alpine-sdk
44
WORKDIR /go-ethereum
55
ADD .src .
66
RUN make geth
77

8-
FROM alpine:3.11
8+
FROM alpine:3.12
99
RUN apk add --no-cache ca-certificates bash
1010
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/
1111
COPY entrypoint.sh rinkeby-peers.txt mainnet-peers.txt /

images/litecoind/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.11 as builder
1+
FROM alpine:3.12 as builder
22
RUN apk --no-cache add musl-dev g++ make autoconf automake libtool pkgconfig boost-dev libressl-dev libevent-dev zeromq-dev
33
WORKDIR /litecoin
44
ADD .src .
@@ -13,7 +13,7 @@ RUN make install
1313
RUN strip /usr/local/bin/litecoind /usr/local/bin/litecoin-cli
1414

1515

16-
FROM alpine:3.11
16+
FROM alpine:3.12
1717
RUN apk --no-cache add boost-system boost-filesystem boost-chrono boost-thread libevent libressl zeromq bash
1818
COPY --from=builder /usr/local/bin/litecoind /usr/local/bin/litecoin-cli /usr/local/bin/
1919
ADD entrypoint.sh /

images/lndbtc-simnet/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
FROM golang:1.13-alpine3.11 as builder
2-
RUN apk add --no-cache bash git make gcc musl-dev
1+
FROM golang:1.14-alpine3.12 as builder
2+
RUN apk add --no-cache bash git make gcc musl-dev patch
33
WORKDIR $GOPATH/src/github.com/lightningnetwork/lnd
44
ADD .src .
55
RUN go mod vendor
@@ -13,7 +13,7 @@ RUN go install -v -mod=vendor -tags="$TAGS" -ldflags "$LDFLAGS" ./cmd/lnd ./cmd/
1313
RUN strip /go/bin/lnd /go/bin/lncli
1414

1515

16-
FROM alpine:3.11
16+
FROM alpine:3.12
1717
RUN apk add --no-cache bash tor
1818
COPY --from=builder /go/bin/lnd /go/bin/lncli /usr/local/bin/
1919
COPY entrypoint.sh /entrypoint.sh

images/lndbtc/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.13-alpine3.11 as builder
1+
FROM golang:1.14-alpine3.12 as builder
22
RUN apk add --no-cache bash git make gcc musl-dev
33
WORKDIR $GOPATH/src/github.com/lightningnetwork/lnd
44
ADD .src .
@@ -8,7 +8,7 @@ RUN go install -v -tags="$TAGS" -ldflags "$LDFLAGS" ./cmd/lnd ./cmd/lncli
88
RUN strip /go/bin/lnd /go/bin/lncli
99

1010
# Final stage
11-
FROM alpine:3.11
11+
FROM alpine:3.12
1212
RUN apk add --no-cache bash expect supervisor tor
1313
COPY --from=builder /go/bin/lnd /go/bin/lncli /usr/local/bin/
1414
COPY entrypoint.sh /entrypoint.sh

images/lndltc-simnet/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
FROM golang:1.13-alpine3.11 as builder
2-
RUN apk add --no-cache bash git make gcc musl-dev
1+
FROM golang:1.14-alpine3.12 as builder
2+
RUN apk add --no-cache bash git make gcc musl-dev patch
33
WORKDIR $GOPATH/src/github.com/lightningnetwork/lnd
44
ADD .src .
55
RUN go mod vendor
@@ -13,7 +13,7 @@ RUN go install -v -mod=vendor -tags="$TAGS" -ldflags "$LDFLAGS" ./cmd/lnd ./cmd/
1313
RUN strip /go/bin/lnd /go/bin/lncli
1414

1515

16-
FROM alpine:3.11
16+
FROM alpine:3.12
1717
RUN apk add --no-cache bash tor
1818
COPY --from=builder /go/bin/lnd /go/bin/lncli /usr/local/bin/
1919
COPY entrypoint.sh /entrypoint.sh

images/lndltc/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.13-alpine3.11 as builder
1+
FROM golang:1.14-alpine3.12 as builder
22
RUN apk add --no-cache bash git make gcc musl-dev
33
WORKDIR $GOPATH/src/github.com/lightningnetwork/lnd
44
ADD .src .
@@ -8,7 +8,7 @@ RUN go install -v -tags="$TAGS" -ldflags "$LDFLAGS" ./cmd/lnd ./cmd/lncli
88
RUN strip /go/bin/lnd /go/bin/lncli
99

1010
# Final stage
11-
FROM alpine:3.11
11+
FROM alpine:3.12
1212
RUN apk add --no-cache bash expect supervisor tor
1313
COPY --from=builder /go/bin/lnd /go/bin/lncli /usr/local/bin/
1414
COPY entrypoint.sh /entrypoint.sh

0 commit comments

Comments
 (0)