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
ce0a86bf
Unverified
Commit
ce0a86bf
authored
Sep 12, 2023
by
Adrian Sutton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
op-challenger: Include pre-built cannon in the op-challenger docker file
parent
3682f04f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
Dockerfile
op-challenger/Dockerfile
+11
-2
No files found.
op-challenger/Dockerfile
View file @
ce0a86bf
...
...
@@ -32,6 +32,12 @@ ARG TARGETOS TARGETARCH
RUN
make op-program-host
VERSION
=
"
$VERSION
"
GOOS
=
$TARGETOS
GOARCH
=
$TARGETARCH
WORKDIR
/app/cannon
ARG
TARGETOS TARGETARCH
RUN
make cannon
VERSION
=
"
$VERSION
"
GOOS
=
$TARGETOS
GOARCH
=
$TARGETARCH
WORKDIR
/app/op-challenger
RUN
make op-challenger
VERSION
=
"
$VERSION
"
GOOS
=
$TARGETOS
GOARCH
=
$TARGETARCH
...
...
@@ -39,10 +45,13 @@ RUN make op-challenger VERSION="$VERSION" GOOS=$TARGETOS GOARCH=$TARGETARCH
FROM
alpine:3.18
# Make the bundled op-program the default cannon server
COPY
--from=builder /app/op-program/bin/op-program /usr/local/bin
ENV
OP_CHALLENGER_CANNON_SERVER /usr/local/bin/op-program
COPY
--from=builder /app/op-challenger/bin/op-challenger /usr/local/bin
# Make the bundled cannon the default cannon executable
COPY
--from=builder /app/cannon/bin/cannon /usr/local/bin
ENV
OP_CHALLENGER_CANNON_BIN /usr/local/bin/cannon
COPY
--from=builder /app/op-
program/bin/op-program
/usr/local/bin
COPY
--from=builder /app/op-
challenger/bin/op-challenger
/usr/local/bin
CMD
["op-challenger"]
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