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
2c5bd41b
Commit
2c5bd41b
authored
Mar 14, 2022
by
Adrian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] Refactored Dockerfiles
parent
ccd98811
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
8 deletions
+16
-8
Dockerfile.batch-submitter-service
ops/docker/Dockerfile.batch-submitter-service
+1
-0
Dockerfile.gas-oracle
ops/docker/Dockerfile.gas-oracle
+2
-1
Dockerfile.geth
ops/docker/Dockerfile.geth
+1
-0
Dockerfile.l2geth-exporter
ops/docker/Dockerfile.l2geth-exporter
+2
-2
Dockerfile.op-exporter
ops/docker/Dockerfile.op-exporter
+2
-2
Dockerfile.packages
ops/docker/Dockerfile.packages
+7
-2
Dockerfile
ops/docker/hardhat/Dockerfile
+1
-1
No files found.
ops/docker/Dockerfile.batch-submitter-service
View file @
2c5bd41b
...
...
@@ -15,5 +15,6 @@ FROM alpine:3.13
RUN apk add --no-cache ca-certificates jq curl
COPY --from=builder /go/batch-submitter/batch-submitter /usr/local/bin/
WORKDIR /usr/local/bin
COPY ./ops/scripts/batch-submitter.sh .
ENTRYPOINT ["batch-submitter"]
ops/docker/Dockerfile.gas-oracle
View file @
2c5bd41b
...
...
@@ -2,7 +2,7 @@ FROM golang:1.15-alpine3.13 as builder
RUN apk add --no-cache make gcc musl-dev linux-headers git jq bash
ADD
./go/gas-oracle /gas-oracle
COPY
./go/gas-oracle /gas-oracle
RUN cd /gas-oracle && make gas-oracle
FROM alpine:3.13
...
...
@@ -10,5 +10,6 @@ FROM alpine:3.13
RUN apk add --no-cache ca-certificates jq curl
COPY --from=builder /gas-oracle/gas-oracle /usr/local/bin/
WORKDIR /usr/local/bin/
COPY ./ops/scripts/gas-oracle.sh .
ENTRYPOINT ["gas-oracle"]
ops/docker/Dockerfile.geth
View file @
2c5bd41b
...
...
@@ -15,6 +15,7 @@ FROM alpine:3.13
RUN apk add --no-cache ca-certificates jq curl
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/
WORKDIR /usr/local/bin/
EXPOSE 8545 8546 8547
COPY ./ops/scripts/geth.sh .
ENTRYPOINT ["geth"]
ops/docker/Dockerfile.l2geth-exporter
View file @
2c5bd41b
FROM golang:1.16 as builder
ADD
./go/l2geth-exporter /app/
COPY
./go/l2geth-exporter /app/
WORKDIR /app/
RUN make build
FROM alpine:
latest
FROM alpine:
3.13
RUN apk --no-cache add ca-certificates
WORKDIR /root/
COPY --from=builder /app/l2geth-exporter /usr/local/bin/
...
...
ops/docker/Dockerfile.op-exporter
View file @
2c5bd41b
FROM golang:1.16 as builder
ADD
./go/op-exporter /app/
COPY
./go/op-exporter /app/
WORKDIR /app/
RUN make build
FROM alpine:
latest
FROM alpine:
3.13
RUN apk --no-cache add ca-certificates
WORKDIR /root/
COPY --from=builder /app/op-exporter /usr/local/bin/
...
...
ops/docker/Dockerfile.packages
View file @
2c5bd41b
...
...
@@ -6,7 +6,12 @@
# when used with typescript/hardhat: https://github.com/nomiclabs/hardhat/issues/1219
FROM node:16.13-buster-slim as base
RUN apt-get update -y && apt-get install -y git curl jq python3
RUN apt-get update -y && apt-get install -y --no-install-recommends git \
curl \
jq \
python3 \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# copy over the needed configs to run the dep installation
# note: this approach can be a bit unhandy to maintain, but it allows
...
...
@@ -22,7 +27,7 @@ COPY packages/message-relayer/package.json ./packages/message-relayer/package.js
COPY packages/replica-healthcheck/package.json ./packages/replica-healthcheck/package.json
COPY integration-tests/package.json ./integration-tests/package.json
RUN yarn install --frozen-lockfile
RUN yarn install --frozen-lockfile
&& yarn cache clean
COPY ./packages ./packages
COPY ./integration-tests ./integration-tests
...
...
ops/docker/hardhat/Dockerfile
View file @
2c5bd41b
...
...
@@ -8,7 +8,7 @@ COPY [ \
# install deps
WORKDIR
/hardhat
RUN
yarn
install
RUN
yarn
install
&&
yarn cache clean
# bring in dockerenv so that hardhat launches with host = 0.0.0.0 instead of 127.0.0.1
# so that it's accessible from other boxes as well
...
...
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