Replace alpine with ubuntu as base image in the Dockerfile #31
@ -17,10 +17,13 @@ COPY . .
|
|||||||
RUN make build
|
RUN make build
|
||||||
|
|
||||||
# Final image
|
# Final image
|
||||||
FROM alpine:3.17.0
|
FROM ubuntu:22.04
|
||||||
|
|
||||||
# Install ca-certificates
|
# Install ca-certificates, jq, curl, bash, and other necessary packages
|
||||||
RUN apk add --update ca-certificates jq curl bash
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
ca-certificates \
|
||||||
|
jq curl bash \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Copy over binaries from the build-env
|
# Copy over binaries from the build-env
|
||||||
COPY --from=build-env /go/src/git.vdb.to/cerc-io/laconicd/build/laconicd /usr/bin/laconicd
|
COPY --from=build-env /go/src/git.vdb.to/cerc-io/laconicd/build/laconicd /usr/bin/laconicd
|
||||||
|
Loading…
Reference in New Issue
Block a user