Skip to content

Commit

Permalink
Dockerfiles: Use Debian "bookworm"
Browse files Browse the repository at this point in the history
  • Loading branch information
mitjat committed Oct 28, 2023
1 parent 3624072 commit 1c44455
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker/oasis-net-runner/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19-buster AS oasis-core
FROM golang:1.19-bookworm AS oasis-core

ARG OASIS_CORE_VERSION=23.0.2

Expand Down
12 changes: 7 additions & 5 deletions docker/oasis-node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
FROM golang:1.19-buster AS oasis-node
FROM golang:1.19-bookworm AS oasis-node

ARG OASIS_CORE_VERSION=23.0.2

WORKDIR /code/go

# Fetch and extract oasis-node binary.
RUN wget https://github.com/oasisprotocol/oasis-core/releases/download/v22.1.3/oasis_core_22.1.3_linux_amd64.tar.gz && \
tar -xf oasis_core_22.1.3_linux_amd64.tar.gz && \
mv /code/go/oasis_core_22.1.3_linux_amd64/oasis-node /usr/local/bin/ && \
rm -rf /code/go/oasis_core_22.1.3_linux_amd64*
RUN wget https://github.com/oasisprotocol/oasis-core/releases/download/v${OASIS_CORE_VERSION}/oasis_core_${OASIS_CORE_VERSION}_linux_amd64.tar.gz && \
tar -xf oasis_core_${OASIS_CORE_VERSION}_linux_amd64.tar.gz && \
mv /code/go/oasis_core_${OASIS_CORE_VERSION}_linux_amd64/oasis-node /usr/local/bin/ && \
rm -rf /code/go/oasis_core_${OASIS_CORE_VERSION}_linux_amd64*

# Create working directory and user for running Oasis Non-validator Node
# https://docs.oasis.dev/general/run-a-node/set-up-your-node/run-non-validator/
Expand Down

0 comments on commit 1c44455

Please sign in to comment.