diff options
| author | Max Resnick <max@ofmax.li> | 2024-08-04 22:12:07 -0700 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2024-08-04 22:12:07 -0700 |
| commit | f3b1eecc68cdabf7296c05fcd9e96317c0c1c8f2 (patch) | |
| tree | f472ad69e129b12e92d27c70a6faf53e2f30e988 /Dockerfile | |
| parent | 1d913224d3f0ea1381e1704c46b805619d61f19f (diff) | |
| download | go-git-server-f3b1eecc68cdabf7296c05fcd9e96317c0c1c8f2.tar.gz | |
feat: add version reporting to server
Diffstat (limited to 'Dockerfile')
| -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.22.0-bookworm as base +ARG version RUN mkdir -p /app WORKDIR /app @@ -8,7 +9,7 @@ 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 +RUN just build $version FROM public.ecr.aws/s0f9o2k5/base:v0.1.0 RUN useradd -s /usr/sbin/nologin \ |