mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-05-25 06:33:44 +02:00
add postgres tag to go install migrate
This commit is contained in:
parent
42f760d72f
commit
c9e08c951a
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ ADD . /ZeroTierOne
|
||||||
RUN export PATH=$PATH:~/.cargo/bin && cd ZeroTierOne && make clean && make central-controller -j8
|
RUN export PATH=$PATH:~/.cargo/bin && cd ZeroTierOne && make clean && make central-controller -j8
|
||||||
|
|
||||||
FROM golang:bookworm AS go_base
|
FROM golang:bookworm AS go_base
|
||||||
RUN go install github.com/golang-migrate/migrate/v4/cmd/migrate@latest
|
RUN go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@latest
|
||||||
|
|
||||||
FROM registry.zerotier.com/zerotier/ctlrun:2025-05-13-01
|
FROM registry.zerotier.com/zerotier/ctlrun:2025-05-13-01
|
||||||
COPY --from=builder /ZeroTierOne/zerotier-one /usr/local/bin/zerotier-one
|
COPY --from=builder /ZeroTierOne/zerotier-one /usr/local/bin/zerotier-one
|
||||||
|
|
Loading…
Add table
Reference in a new issue