Skip to content

Commit

Permalink
Update docker paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Zaikin committed Jan 4, 2024
1 parent 1fad9c1 commit e79b078
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
target/
benchmark/
bin/
.tezos-client/
.db/
.git/
2 changes: 1 addition & 1 deletion .github/workflows/kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
file: build/kernel/Dockerfile
file: docker/operator/Dockerfile
build-args: |
OCTEZ_TAG=v17.1
OCTEZ_PROTO=PtNairob
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sequencer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
file: build/sequencer/Dockerfile
file: docker/sequencer/Dockerfile
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ build-sequencer:
cargo build --package sequencer

image-operator:
docker build -t dsn/operator:$(OCTEZ_TAG) --file ./docker/kernel/local.dockerfile \
docker build -t dsn/operator:$(OCTEZ_TAG) --file ./docker/operator/local.dockerfile \
--build-arg OCTEZ_TAG=$(OCTEZ_TAG) \
--build-arg OCTEZ_PROTO=$(OCTEZ_PROTO) \
.
Expand Down
2 changes: 1 addition & 1 deletion docker/kernel/Dockerfile → docker/operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ COPY --from=octez /usr/local/bin/octez-smart-rollup-node-${OCTEZ_PROTO} /usr/bin
COPY --from=octez /usr/local/bin/octez-client /usr/bin/octez-client
COPY --from=builder /build/bin/wasm_2_0_0/ /root/wasm_2_0_0/
COPY --from=builder /build/bin/kernel_installer.wasm /root/kernel.wasm
COPY ./docker/kernel/entrypoint.sh .
COPY ./docker/operator/entrypoint.sh .
RUN chmod +x entrypoint.sh && ln ./entrypoint.sh /usr/bin/operator
ENTRYPOINT [ "./entrypoint.sh" ]
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ COPY --from=octez /usr/local/bin/octez-smart-rollup-node-${OCTEZ_PROTO} /usr/bin
COPY --from=octez /usr/local/bin/octez-client /usr/bin/octez-client
COPY ./bin/wasm_2_0_0/ /root/wasm_2_0_0/
COPY ./bin/kernel_installer.wasm /root/kernel.wasm
COPY ./docker/kernel/entrypoint.sh .
COPY ./docker/operator/entrypoint.sh .
RUN chmod +x entrypoint.sh && ln ./entrypoint.sh /usr/bin/operator
ENTRYPOINT [ "./entrypoint.sh" ]

0 comments on commit e79b078

Please sign in to comment.