Skip to content

Commit

Permalink
update Docker images to stable/Bookworm (#6740)
Browse files Browse the repository at this point in the history
* update Docker images to stable/Bookworm

* add copyright headers
  • Loading branch information
tersec authored Dec 1, 2024
1 parent c13b0c9 commit 7538a9d
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 3 deletions.
9 changes: 8 additions & 1 deletion docker/dist/binaries/Dockerfile.bn.amd64
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
FROM debian:bullseye-slim
# Copyright (c) 2022-2024 Status Research & Development GmbH. Licensed under
# either of:
# - Apache License, version 2.0
# - MIT license
# at your option. This file may not be copied, modified, or distributed except
# according to those terms.

FROM debian:bookworm-slim

SHELL ["/bin/bash", "-c"]

Expand Down
7 changes: 7 additions & 0 deletions docker/dist/binaries/Dockerfile.bn.arm
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (c) 2022-2024 Status Research & Development GmbH. Licensed under
# either of:
# - Apache License, version 2.0
# - MIT license
# at your option. This file may not be copied, modified, or distributed except
# according to those terms.

FROM --platform=linux/arm/v7 debian:bookworm-slim

SHELL ["/bin/bash", "-c"]
Expand Down
7 changes: 7 additions & 0 deletions docker/dist/binaries/Dockerfile.bn.arm64
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (c) 2022-2024 Status Research & Development GmbH. Licensed under
# either of:
# - Apache License, version 2.0
# - MIT license
# at your option. This file may not be copied, modified, or distributed except
# according to those terms.

FROM --platform=linux/arm64/v8 debian:bookworm-slim

SHELL ["/bin/bash", "-c"]
Expand Down
9 changes: 8 additions & 1 deletion docker/dist/binaries/Dockerfile.vc.amd64
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
FROM debian:bullseye-slim
# Copyright (c) 2022-2024 Status Research & Development GmbH. Licensed under
# either of:
# - Apache License, version 2.0
# - MIT license
# at your option. This file may not be copied, modified, or distributed except
# according to those terms.

FROM debian:bookworm-slim

SHELL ["/bin/bash", "-c"]

Expand Down
7 changes: 7 additions & 0 deletions docker/dist/binaries/Dockerfile.vc.arm
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (c) 2022-2024 Status Research & Development GmbH. Licensed under
# either of:
# - Apache License, version 2.0
# - MIT license
# at your option. This file may not be copied, modified, or distributed except
# according to those terms.

FROM --platform=linux/arm/v7 debian:bookworm-slim

SHELL ["/bin/bash", "-c"]
Expand Down
7 changes: 7 additions & 0 deletions docker/dist/binaries/Dockerfile.vc.arm64
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (c) 2022-2024 Status Research & Development GmbH. Licensed under
# either of:
# - Apache License, version 2.0
# - MIT license
# at your option. This file may not be copied, modified, or distributed except
# according to those terms.

FROM --platform=linux/arm64/v8 debian:bookworm-slim

SHELL ["/bin/bash", "-c"]
Expand Down
2 changes: 1 addition & 1 deletion docs/the_nimbus_book/src/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Docker images for the [Nimbus beacon node](https://hub.docker.com/r/statusim/nim

We have version-specific Docker tags (e.g. `statusim/nimbus-eth2:amd64-v1.2.3`) and a tag for the latest image (e.g. `statusim/nimbus-eth2:amd64-latest`).

These images contain the same binaries as the [release tarballs](./binaries.md) inside a `debian:bullseye-slim` image, running under a user imaginatively named `user`, with UID:GID of 1000:1000.
These images contain the same binaries as the [release tarballs](./binaries.md) inside a `debian:bookworm-slim` image, running under a user imaginatively named `user`, with UID:GID of 1000:1000.

The binaries are placed under the `/home/user/` directory which is also the default *WORKDIR*.
The *ENTRYPOINT* of the image is configured to directly launch the respective binary without any extra arguments.
Expand Down

0 comments on commit 7538a9d

Please sign in to comment.