From 27d3711653c14cb102b76940c0938698f46bbae4 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Thu, 27 Jun 2024 17:16:58 +0530 Subject: [PATCH] Replace alpine with ubuntu as base image in the Dockerfile --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5d6278bb..a52cb988 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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