Replace alpine with ubuntu as base image in the Dockerfile #31

Merged
ashwin merged 4 commits from pm-use-ubuntu into main 2024-07-10 14:36:09 +00:00
Showing only changes of commit e7ac7ae23a - Show all commits

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