diff options
| author | Max Resnick <max@ofmax.li> | 2025-05-26 00:48:53 -0700 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2025-05-26 00:49:44 -0700 |
| commit | 7f3b59980e3b9d8d878aa57f4b01b9d4cc1eab0c (patch) | |
| tree | 77676d3ba8264ffe39af0393ce77cbd2adfb6bb2 | |
| parent | a146f39ed183f9957f659505b74782a84e5183c0 (diff) | |
| download | go-git-server-7f3b59980e3b9d8d878aa57f4b01b9d4cc1eab0c.tar.gz | |
fix: keep just in a cached position
| -rw-r--r-- | Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |