Skip to content

Commit ff2ed59

Browse files
committed
trueblocks: simplify to vanilla Dockerfile, drop build.sh + entrypoint.sh
1 parent 4de400e commit ff2ed59

4 files changed

Lines changed: 1 addition & 98 deletions

File tree

.github/workflows/build-push-trueblocks.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ on:
1818
description: Override target docker tag (defaults to the above source ref if left blank)
1919
type: string
2020
required: false
21-
build_args:
22-
description: Build arguments to pass to the Docker build
23-
default: ""
24-
type: string
25-
required: false
2621
correlation_id:
2722
description: Optional correlation ID passed through to the run name (used by integrations)
2823
type: string
@@ -74,9 +69,7 @@ jobs:
7469
target_tag: ${{ needs.prepare.outputs.target_tag }}-${{ matrix.slug }}
7570
target_repository: ethpandaops/trueblocks
7671
target_dockerfile: ./trueblocks/Dockerfile
77-
build_script: ./trueblocks/build.sh
7872
platform: ${{ matrix.platform }}
79-
build_args: ${{ inputs.build_args }}
8073

8174
DOCKER_USERNAME: "${{ vars.DOCKER_USERNAME }}"
8275
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"

trueblocks/Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
# Builds chifra from trueblocks-core source.
2-
#
3-
# Invoked via ./trueblocks/build.sh, which stages ./entrypoint.sh into the
4-
# build context as .trueblocks-entrypoint.sh before running docker build.
52

63
FROM golang:1.25.1-bookworm AS builder
74

@@ -41,8 +38,5 @@ COPY --from=builder /src/bin/chifra /usr/local/bin/chifra
4138
# networks; without them chifra's IsNodeArchive can't validate against block 0.
4239
COPY --from=builder /src/src/other/install/per-chain /root/.local/share/trueblocks/config
4340

44-
COPY .trueblocks-entrypoint.sh /entrypoint.sh
45-
RUN chmod +x /entrypoint.sh
46-
4741
EXPOSE 8080
48-
ENTRYPOINT ["/entrypoint.sh"]
42+
ENTRYPOINT ["chifra"]

trueblocks/build.sh

Lines changed: 0 additions & 27 deletions
This file was deleted.

trueblocks/entrypoint.sh

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)