Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
exchain
nebula
Commits
6f851483
Commit
6f851483
authored
Jan 31, 2023
by
Joshua Gutow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the docker file builds
parent
218a5ddd
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
45 deletions
+15
-45
Dockerfile
op-batcher/Dockerfile
+5
-4
docker.go.work
op-batcher/docker.go.work
+0
-10
Dockerfile
op-chain-ops/Dockerfile
+2
-1
docker.go.work
op-chain-ops/docker.go.work
+0
-7
Dockerfile
op-node/Dockerfile
+4
-3
docker.go.work
op-node/docker.go.work
+0
-8
Dockerfile
op-proposer/Dockerfile
+4
-3
docker.go.work
op-proposer/docker.go.work
+0
-9
No files found.
op-batcher/Dockerfile
View file @
6f851483
...
@@ -2,14 +2,15 @@ FROM golang:1.18.0-alpine3.15 as builder
...
@@ -2,14 +2,15 @@ FROM golang:1.18.0-alpine3.15 as builder
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
# build op-batcher with
local monorepo go modu
les
# build op-batcher with
the shared go.mod & go.sum fi
les
COPY
./op-batcher
/docker.go.work /app/go.work
COPY
./op-batcher
/app/op-batcher
COPY
./op-bindings /app/op-bindings
COPY
./op-bindings /app/op-bindings
COPY
./op-node /app/op-node
COPY
./op-node /app/op-node
COPY
./op-proposer /app/op-proposer
COPY
./op-service /app/op-service
COPY
./op-service /app/op-service
COPY
./op-batcher /app/op-batcher
COPY
./op-signer /app/op-signer
COPY
./op-signer /app/op-signer
COPY
./go.mod /app/go.mod
COPY
./go.sum /app/go.sum
COPY
./.git /app/.git
COPY
./.git /app/.git
WORKDIR
/app/op-batcher
WORKDIR
/app/op-batcher
...
...
op-batcher/docker.go.work
deleted
100644 → 0
View file @
218a5ddd
go 1.18
use (
./op-batcher
./op-bindings
./op-node
./op-proposer
./op-service
./op-signer
)
op-chain-ops/Dockerfile
View file @
6f851483
...
@@ -2,10 +2,11 @@ FROM golang:1.18.0-alpine3.15 as builder
...
@@ -2,10 +2,11 @@ FROM golang:1.18.0-alpine3.15 as builder
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
COPY
./op-chain-ops/docker.go.work /app/go.work
COPY
./op-chain-ops /app/op-chain-ops
COPY
./op-chain-ops /app/op-chain-ops
COPY
./op-bindings /app/op-bindings
COPY
./op-bindings /app/op-bindings
COPY
./op-node /app/op-node
COPY
./op-node /app/op-node
COPY
./go.mod /app/go.mod
COPY
./go.sum /app/go.sum
COPY
./.git /app/.git
COPY
./.git /app/.git
WORKDIR
/app/op-chain-ops
WORKDIR
/app/op-chain-ops
...
...
op-chain-ops/docker.go.work
deleted
100644 → 0
View file @
218a5ddd
go 1.18
use (
./op-bindings
./op-chain-ops
./op-node
)
op-node/Dockerfile
View file @
6f851483
...
@@ -2,12 +2,13 @@ FROM golang:1.18.0-alpine3.15 as builder
...
@@ -2,12 +2,13 @@ FROM golang:1.18.0-alpine3.15 as builder
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
# build op-node with local monorepo go modules
# build op-node with the shared go.mod & go.sum files
COPY
./op-node/docker.go.work /app/go.work
COPY
./op-bindings /app/op-bindings
COPY
./op-node /app/op-node
COPY
./op-node /app/op-node
COPY
./op-chain-ops /app/op-chain-ops
COPY
./op-chain-ops /app/op-chain-ops
COPY
./op-service /app/op-service
COPY
./op-service /app/op-service
COPY
./op-bindings /app/op-bindings
COPY
./go.mod /app/go.mod
COPY
./go.sum /app/go.sum
COPY
./.git /app/.git
COPY
./.git /app/.git
WORKDIR
/app/op-node
WORKDIR
/app/op-node
...
...
op-node/docker.go.work
deleted
100644 → 0
View file @
218a5ddd
go 1.18
use (
./op-bindings
./op-node
./op-chain-ops
./op-service
)
op-proposer/Dockerfile
View file @
6f851483
...
@@ -2,13 +2,14 @@ FROM golang:1.18.0-alpine3.15 as builder
...
@@ -2,13 +2,14 @@ FROM golang:1.18.0-alpine3.15 as builder
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
# build op-proposer with
local monorepo go modu
les
# build op-proposer with
the shared go.mod & go.sum fi
les
COPY
./op-proposer
/docker.go.work /app/go.work
COPY
./op-proposer
/app/op-proposer
COPY
./op-bindings /app/op-bindings
COPY
./op-bindings /app/op-bindings
COPY
./op-node /app/op-node
COPY
./op-node /app/op-node
COPY
./op-proposer /app/op-proposer
COPY
./op-service /app/op-service
COPY
./op-service /app/op-service
COPY
./op-signer /app/op-signer
COPY
./op-signer /app/op-signer
COPY
./go.mod /app/go.mod
COPY
./go.sum /app/go.sum
COPY
./.git /app/.git
COPY
./.git /app/.git
WORKDIR
/app/op-proposer
WORKDIR
/app/op-proposer
...
...
op-proposer/docker.go.work
deleted
100644 → 0
View file @
218a5ddd
go 1.18
use (
./op-bindings
./op-node
./op-proposer
./op-service
./op-signer
)
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