forked from lightningnetwork/lnd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multi: add release helper docker file
- Loading branch information
Showing
9 changed files
with
86 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
# If you change this value, please change it in the following files as well: | ||
# /.travis.yml | ||
# /Dockerfile | ||
# /make/builder.Dockerfile | ||
# /.github/workflows/main.yml | ||
# /.github/workflows/release.yml | ||
FROM golang:1.15.6-alpine as builder | ||
|
||
LABEL maintainer="Olaoluwa Osuntokun <[email protected]>" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# If you change this value, please change it in the following files as well: | ||
# /.travis.yml | ||
# /Dockerfile | ||
# /dev.Dockerfile | ||
# /.github/workflows/main.yml | ||
# /.github/workflows/release.yml | ||
FROM golang:1.15.6-buster | ||
|
||
MAINTAINER Olaoluwa Osuntokun <[email protected]> | ||
|
||
# Golang build related environment variables that are static and used for all | ||
# architectures/OSes. | ||
ENV GODEBUG netdns=cgo | ||
ENV GO111MODULE=auto | ||
ENV CGO_ENABLED=0 | ||
|
||
# Set up cache directories. Those will be mounted from the host system to speed | ||
# up builds. If go isn't installed on the host system, those will fall back to | ||
# temp directories during the build (see make/release_flags.mk). | ||
ENV GOCACHE=/tmp/build/.cache | ||
ENV GOMODCACHE=/tmp/build/.modcache | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
git \ | ||
make \ | ||
tar \ | ||
zip \ | ||
bash \ | ||
&& mkdir -p /tmp/build/lnd \ | ||
&& mkdir -p /tmp/build/.cache \ | ||
&& mkdir -p /tmp/build/.modcache \ | ||
&& chmod -R 777 /tmp/build/ | ||
|
||
WORKDIR /tmp/build/lnd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters