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
c8f2f650
Commit
c8f2f650
authored
Mar 21, 2025
by
Ubuntu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add docker build
parent
5c9961c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
Dockerfile
Dockerfile
+24
-0
Makefile
Makefile
+4
-0
No files found.
Dockerfile
0 → 100644
View file @
c8f2f650
# syntax = docker/dockerfile:1-experimental
FROM
golang:1.23-alpine AS build
# Install dependencies
RUN
apk update
&&
\
apk upgrade
&&
\
apk add
--no-cache
bash git openssh make build-base
WORKDIR
/build
COPY
. /build/code
RUN
git clone https://code.wuban.net.cn/exchain/process /build/process
RUN
cd
/build/code
&&
make build-go
#RUN cd /build/code && mv process ../ && make build-go
FROM
alpine
WORKDIR
/root
COPY
--from=build /build/code/bin/* /usr/bin/
ENTRYPOINT
[ "/usr/bin/opnode" ]
Makefile
View file @
c8f2f650
...
@@ -66,6 +66,10 @@ mod-tidy: ## Cleans up unused dependencies in Go modules
...
@@ -66,6 +66,10 @@ mod-tidy: ## Cleans up unused dependencies in Go modules
export
GOPRIVATE
=
"github.com/ethereum-optimism"
&&
go mod tidy
export
GOPRIVATE
=
"github.com/ethereum-optimism"
&&
go mod tidy
.PHONY
:
mod-tidy
.PHONY
:
mod-tidy
docker
:
@
docker build
--no-cache
-t
exchain-node:latest .
.PHONY
:
docker
clean
:
##
Removes all generated files under bin/
clean
:
##
Removes all generated files under bin/
rm
-rf
./bin
rm
-rf
./bin
cd
packages/contracts-bedrock/
&&
forge clean
cd
packages/contracts-bedrock/
&&
forge clean
...
...
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