From 7f3b59980e3b9d8d878aa57f4b01b9d4cc1eab0c Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Mon, 26 May 2025 00:48:53 -0700 Subject: fix: keep just in a cached position --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f4820d1..2b5b056 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM golangci/golangci-lint:latest as golangci FROM golang:1.24.0-bookworm as base +RUN curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin ARG version RUN mkdir -p /app @@ -8,7 +9,7 @@ WORKDIR /app COPY --from=golangci /usr/bin/golangci-lint /usr/bin/golangci-lint COPY . /app/ -RUN curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin + RUN just build $version FROM public.ecr.aws/s0f9o2k5/base:v0.1.0 -- cgit v1.2.3