good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
github
maticnetwork
bor
Commits
0e4aa14e
Unverified
Commit
0e4aa14e
authored
4 years ago
by
Jaynti Kanani
Browse files
Options
Downloads
Patches
Plain Diff
fix docker file
parent
c69ad134
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+5
-5
5 additions, 5 deletions
Dockerfile
Dockerfile.alltools
+4
-4
4 additions, 4 deletions
Dockerfile.alltools
with
9 additions
and
9 deletions
Dockerfile
+
5
−
5
View file @
0e4aa14e
# Build
Geth
in a stock Go builder container
# Build
Bor
in a stock Go builder container
FROM
golang:1.12-alpine
as
builder
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git
ADD
. /
go-ethereum
RUN
cd
/
go-ethereum
&&
make
geth
ADD
. /
bor
RUN
cd
/
bor
&&
make
bor
# Pull
Geth
into a second stage deploy alpine container
# Pull
Bor
into a second stage deploy alpine container
FROM
alpine:latest
RUN
apk add
--no-cache
ca-certificates
COPY
--from=builder /
go-ethereum
/build/bin/
geth
/usr/local/bin/
COPY
--from=builder /
bor
/build/bin/
bor
/usr/local/bin/
EXPOSE
8545 8546 30303 30303/udp
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Dockerfile.alltools
+
4
−
4
View file @
0e4aa14e
# Build
Geth
in a stock Go builder container
# Build
Bor
in a stock Go builder container
FROM golang:1.12-alpine as builder
RUN apk add --no-cache make gcc musl-dev linux-headers git
ADD . /
go-ethereum
RUN cd /
go-ethereum
&& make all
ADD . /
bor
RUN cd /
bor
&& make all
# Pull all binaries into a second stage deploy alpine container
FROM alpine:latest
RUN apk add --no-cache ca-certificates
COPY --from=builder /
go-ethereum
/build/bin/* /usr/local/bin/
COPY --from=builder /
bor
/build/bin/* /usr/local/bin/
EXPOSE 8545 8546 30303 30303/udp
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment