Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasdille committed Oct 14, 2024
1 parent ca3e1c7 commit 8ccff7e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/posting/Dockerfile.template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#syntax=docker/dockerfile:1.10.0@sha256:865e5dd094beca432e8c0a1d5e1c465db5f998dca4e439981029b3b81fb39ed5

FROM ghcr.io/uniget-org/tools/python:latest AS python
FROM ghcr.io/uniget-org/tools/python-3.12:latest AS python
FROM ghcr.io/uniget-org/tools/shiv:latest AS shiv

FROM ghcr.io/uniget-org/images/ubuntu:24.04 AS prepare
Expand Down
2 changes: 1 addition & 1 deletion tools/posting/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license:
version: "1.13.0"
check: "" # No version parameter
build_dependencies:
- python
- python-3.12
- shiv
runtime_dependencies:
- python
Expand Down
3 changes: 3 additions & 0 deletions tools/wireguard-go/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ ARG version
RUN --mount=type=cache,target=/root/go/pkg/mod <<EOF
check-clone https://git.zx2c4.com/wireguard-go "${version}"
git clone -q --config advice.detachedHead=false --depth 1 --branch "${version}" https://git.zx2c4.com/wireguard-go .
go get -u golang.org/x/sys
go get -u golang.org/x/net
go mod tidy
make -j$(nproc)
mv wireguard-go "${prefix}/bin/"
EOF

0 comments on commit 8ccff7e

Please sign in to comment.