Skip to content

Commit c43c7ac

Browse files
authored
Merge pull request #25 from blinklabs-io/fix/configurator-images
fix(configurator): remove ubuntu image use
2 parents d071162 + 7b63009 commit c43c7ac

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

compose/configurator/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Blink Labs images are built from source on Debian Bookworm
22
FROM ghcr.io/blinklabs-io/cardano-node:latest AS cardano-node
33

4-
FROM ubuntu@sha256:7c06e91f61fa88c08cc74f7e1b7c69ae24910d745357e0dfe1d2c0322aaf20f9
5-
64
USER root
75
# Install packages required in build stage
86

@@ -29,13 +27,7 @@ RUN git clone --branch main https://github.com/cardano-foundation/testnet-genera
2927
# Download testnet-generation-tool dependencies
3028
WORKDIR /usr/local/src/testnet-generation-tool
3129
# dockerfile
32-
RUN uv sync
33-
# Copy binary from image
34-
COPY --from=cardano-node --chown=root:root /usr/local/bin/ ./cardano-node/bin/
35-
# Copy libsecp256k1 (also debian:bookwork-slim AKA stable-slim)
36-
COPY --from=cardano-node --chown=root:root /usr/local/lib/ /usr/lib/
37-
COPY --from=cardano-node --chown=root:root /usr/lib/ /tmp/cardano-node/local-lib/
38-
RUN cp -a --update=none /tmp/cardano-node/local-lib/. /usr/lib/
30+
RUN uv sync && mkdir -p cardano-node && ln -sf /usr/local/bin ./cardano-node/bin
3931

4032
COPY configurator.sh /
4133
RUN chmod 0755 /configurator.sh

0 commit comments

Comments
 (0)