diff --git a/Containerfile b/Containerfile index 27c7719..5508128 100644 --- a/Containerfile +++ b/Containerfile @@ -4,7 +4,10 @@ WORKDIR /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 build -o viddl . diff --git a/go.mod b/go.mod index 61ede30..7e9c33f 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,5 @@ 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 diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..95c6030 --- /dev/null +++ b/go.sum @@ -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= diff --git a/go.work b/go.work new file mode 100644 index 0000000..371451d --- /dev/null +++ b/go.work @@ -0,0 +1,6 @@ +go 1.21.1 + +use ( + . + ./apkupdater +)