Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
bb0191f2
Unverified
Commit
bb0191f2
authored
Jul 06, 2021
by
Péter Szilágyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dockerfile: get rid of make and env, see if that fixes builds
parent
c6195623
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Dockerfile
Dockerfile
+2
-2
Dockerfile.alltools
Dockerfile.alltools
+2
-2
No files found.
Dockerfile
View file @
bb0191f2
...
@@ -6,10 +6,10 @@ ARG BUILDNUM=""
...
@@ -6,10 +6,10 @@ ARG BUILDNUM=""
# Build Geth in a stock Go builder container
# Build Geth in a stock Go builder container
FROM
golang:1.16-alpine as builder
FROM
golang:1.16-alpine as builder
RUN
apk add
--no-cache
make
gcc musl-dev linux-headers git
RUN
apk add
--no-cache
gcc musl-dev linux-headers git
ADD
. /go-ethereum
ADD
. /go-ethereum
RUN
cd
/go-ethereum
&&
make
geth
RUN
cd
/go-ethereum
&&
go run build/ci.go
install
./cmd/
geth
# Pull Geth into a second stage deploy alpine container
# Pull Geth into a second stage deploy alpine container
FROM
alpine:latest
FROM
alpine:latest
...
...
Dockerfile.alltools
View file @
bb0191f2
...
@@ -6,10 +6,10 @@ ARG BUILDNUM=""
...
@@ -6,10 +6,10 @@ ARG BUILDNUM=""
# Build Geth in a stock Go builder container
# Build Geth in a stock Go builder container
FROM golang:1.16-alpine as builder
FROM golang:1.16-alpine as builder
RUN apk add --no-cache
make
gcc musl-dev linux-headers git
RUN apk add --no-cache gcc musl-dev linux-headers git
ADD . /go-ethereum
ADD . /go-ethereum
RUN cd /go-ethereum &&
make
all
RUN cd /go-ethereum &&
go run build/ci.go inst
all
# Pull all binaries into a second stage deploy alpine container
# Pull all binaries into a second stage deploy alpine container
FROM alpine:latest
FROM alpine:latest
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment