mirror of
https://github.com/syncthing/syncthing.git
synced 2025-12-23 22:18:14 -05:00
docker: Accept Go version as --build-arg
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
FROM golang:1.13 AS builder
|
||||
ARG GOVERSION=latest
|
||||
FROM golang:$GOVERSION AS builder
|
||||
|
||||
WORKDIR /src
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user