Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to fix docker build #69

Merged
merged 4 commits into from
Sep 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build and base images are assumed to be based on the same major version of Debian.
ARG build_image
ARG base_image
ARG base_image="debian:buster-slim"

# Build stage.
FROM ${build_image} AS build
Expand All @@ -17,7 +17,7 @@ RUN cargo build --release
# Set '--user="$(id -u):$(id -g)"' to make the result file owned by the calling user.
# The mounted folder on the host must already exist and be owned by the same user for this to work.
WORKDIR /out
ENTRYPOINT [ "/build/scripts/build-deb.sh", "/build/target/release/concordium-rosetta" ]
RUN [ "/build/scripts/build-deb.sh", "/build/target/release/concordium-rosetta" ]

# Copy binary to slim image.
FROM ${base_image}
Expand Down
Loading