Use golang bullseye for building laconicd binary
Some checks failed
Build / build (pull_request) Successful in 2m31s
E2E Tests / test-e2e (pull_request) Successful in 3m52s
Integration Tests / test-integration (pull_request) Successful in 1m51s
Lint / Run golangci-lint (pull_request) Successful in 5m4s
SDK Tests / sdk_tests (pull_request) Successful in 8m44s
Unit Tests / test-unit (pull_request) Successful in 1m49s
SDK Tests / sdk_tests_auctions (pull_request) Failing after 12m10s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Failing after 6m57s
Some checks failed
Build / build (pull_request) Successful in 2m31s
E2E Tests / test-e2e (pull_request) Successful in 3m52s
Integration Tests / test-integration (pull_request) Successful in 1m51s
Lint / Run golangci-lint (pull_request) Successful in 5m4s
SDK Tests / sdk_tests (pull_request) Successful in 8m44s
Unit Tests / test-unit (pull_request) Successful in 1m49s
SDK Tests / sdk_tests_auctions (pull_request) Failing after 12m10s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Failing after 6m57s
This commit is contained in:
parent
27d3711653
commit
3c495bbcee
11
Dockerfile
11
Dockerfile
@ -1,7 +1,4 @@
|
|||||||
FROM golang:alpine AS build-env
|
FROM golang:1.21-bullseye AS builder
|
||||||
|
|
||||||
# Install dependencies
|
|
||||||
RUN apk add --update git build-base linux-headers
|
|
||||||
|
|
||||||
# Set working directory for the build
|
# Set working directory for the build
|
||||||
WORKDIR /go/src/git.vdb.to/cerc-io/laconicd
|
WORKDIR /go/src/git.vdb.to/cerc-io/laconicd
|
||||||
@ -22,11 +19,11 @@ FROM ubuntu:22.04
|
|||||||
# Install ca-certificates, jq, curl, bash, and other necessary packages
|
# Install ca-certificates, jq, curl, bash, and other necessary packages
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
jq curl bash \
|
jq curl netcat bash \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Copy over binaries from the build-env
|
# Copy over binary from the builder
|
||||||
COPY --from=build-env /go/src/git.vdb.to/cerc-io/laconicd/build/laconicd /usr/bin/laconicd
|
COPY --from=builder /go/src/git.vdb.to/cerc-io/laconicd/build/laconicd /usr/bin/laconicd
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user