Containerfile: add go version substitutes
Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
parent
fea50ca37e
commit
76312192ae
@ -4,7 +4,10 @@ WORKDIR /build
|
|||||||
|
|
||||||
COPY ./ /build
|
COPY ./ /build
|
||||||
|
|
||||||
RUN sed -i 's/1.21.0/1.21/g' /build/go.mod
|
RUN ls -lah
|
||||||
|
RUN sed -i 's/1.21.1/1.21/g' /build/go.mod
|
||||||
|
RUN sed -i 's/1.21.1/1.21/g' /build/go.work
|
||||||
|
RUN sed -i 's/1.21.1/1.21/g' /build/apkupdater/go.mod
|
||||||
RUN go mod edit -go=1.19
|
RUN go mod edit -go=1.19
|
||||||
|
|
||||||
RUN go build -o viddl .
|
RUN go build -o viddl .
|
||||||
|
4
go.mod
4
go.mod
@ -1,3 +1,5 @@
|
|||||||
module gitea.hbanafa.com/hesham/viddl
|
module gitea.hbanafa.com/hesham/viddl
|
||||||
|
|
||||||
go 1.21.0
|
go 1.21.1
|
||||||
|
|
||||||
|
require gitea.hbanafa.com/hesham/viddl/apkupdater v0.0.0-20230915215353-fea50ca37e85
|
||||||
|
2
go.sum
Normal file
2
go.sum
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
gitea.hbanafa.com/hesham/viddl/apkupdater v0.0.0-20230915215353-fea50ca37e85 h1:rnioWA0GcN24FB0RJt87T0wSXVP1TcCdWjBqoLapYb8=
|
||||||
|
gitea.hbanafa.com/hesham/viddl/apkupdater v0.0.0-20230915215353-fea50ca37e85/go.mod h1:Sgh/I30w/7YHunFggHb+Gi163/eq6PRkphEXkK7crsc=
|
Loading…
Reference in New Issue
Block a user