Skip to content

Add nginx-module-vts #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# This file assumes that the frontend has been built using ./scripts/frontend-build

FROM nginxproxymanager/nginx-full:certbot-node
FROM kustom-local-nginx-full:certbot-node

ARG TARGETPLATFORM
ARG BUILD_VERSION
Expand Down
13 changes: 5 additions & 8 deletions scripts/buildx
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,20 @@ if [ "$BUILD_COMMIT" == "" ]; then
fi

# Buildx Builder
docker buildx create --name "${BUILDX_NAME:-npm}" || echo
docker buildx use "${BUILDX_NAME:-npm}"
# docker buildx create --name "${BUILDX_NAME:-npm}" || echo
# docker buildx use "${BUILDX_NAME:-npm}"

docker buildx build \
sudo docker build \
--build-arg BUILD_VERSION="${BUILD_VERSION:-dev}" \
--build-arg BUILD_COMMIT="${BUILD_COMMIT:-notset}" \
--build-arg BUILD_DATE="$(date '+%Y-%m-%d %T %Z')" \
--build-arg GOPROXY="${GOPROXY:-}" \
--build-arg GOPRIVATE="${GOPRIVATE:-}" \
--platform linux/amd64,linux/arm64,linux/arm/7 \
--progress plain \
--pull \
-f docker/Dockerfile \
$@ \
-t kevintomsdocker/nginxproxymanager-vts:latest \
.

rc=$?
docker buildx rm "${BUILDX_NAME:-npm}"
# docker buildx rm "${BUILDX_NAME:-npm}"
echo -e "${BLUE}❯ ${GREEN}Multiarch build Complete${RESET}"
exit $rc