add build arg version
This commit is contained in:
parent
fa91962c3e
commit
8e54c0d815
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
||||||
# The build image could be golang, but it currently does not support riscv64. Only debian:sid does, at the time of writing.
|
# The build image could be golang, but it currently does not support riscv64. Only debian:sid does, at the time of writing.
|
||||||
FROM debian:sid-slim AS build
|
FROM debian:sid-slim AS build
|
||||||
|
|
||||||
|
ARG version
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN apt-get update && apt-get install -y golang build-essential libsecret-1-dev
|
RUN apt-get update && apt-get install -y golang build-essential libsecret-1-dev
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue