Replace alpine with ubuntu as base image in the Dockerfile

This commit is contained in:
Prathamesh Musale 2024-06-27 17:16:58 +05:30
parent e63f51cacd
commit 27d3711653

View File

@ -17,10 +17,13 @@ COPY . .
RUN make build
# Final image
FROM alpine:3.17.0
FROM ubuntu:22.04
# Install ca-certificates
RUN apk add --update ca-certificates jq curl bash
# Install ca-certificates, jq, curl, bash, and other necessary packages
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 --from=build-env /go/src/git.vdb.to/cerc-io/laconicd/build/laconicd /usr/bin/laconicd