mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-12-10 05:42:36 +00:00
Compare commits
6 commits
17dcf78dbd
...
d5697d1fb1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d5697d1fb1 | ||
|
|
0e66fbad47 | ||
|
|
3320c5d82f | ||
|
|
8a58c5a273 | ||
|
|
21232c8ce1 | ||
|
|
1815408e73 |
9
build.sh
9
build.sh
|
|
@ -62,7 +62,7 @@ DOCKERFILE The name of Dockerfile to use.
|
|||
DOCKER_FROM The base image to use.
|
||||
${_GREEN}Default:${_CLEAR} 'ubuntu:24.04'
|
||||
|
||||
BUILDX_PLATFORMS
|
||||
BUILDX_PLATFORM
|
||||
Specifies the platform(s) to build the image for.
|
||||
${_CYAN}Example:${_CLEAR} 'linux/amd64,linux/arm64'
|
||||
${_GREEN}Default:${_CLEAR} 'linux/amd64'
|
||||
|
|
@ -105,6 +105,9 @@ GH_ACTION If defined, special 'echo' statements are enabled that set the
|
|||
CHECK_ONLY Only checks if the build is needed and sets the GH Action output.
|
||||
${_GREEN}Default:${_CLEAR} undefined
|
||||
|
||||
NO_CACHE Disables Docker Build Cache.
|
||||
${_GREEN}Default:${_CLEAR} undefined
|
||||
|
||||
${_BOLD}Examples:${_CLEAR}
|
||||
|
||||
${0} main
|
||||
|
|
@ -409,7 +412,9 @@ fi
|
|||
if [ -n "${NO_PROXY}" ]; then
|
||||
DOCKER_BUILD_ARGS+=(--build-arg "no_proxy=${NO_PROXY}")
|
||||
fi
|
||||
|
||||
if [ -n "${NO_CACHE}" ]; then
|
||||
DOCKER_BUILD_ARGS+=(--no-cache)
|
||||
fi
|
||||
DOCKER_BUILD_ARGS+=(--platform "${BUILDX_PLATFORM-linux/amd64}")
|
||||
if [ "${2}" == "--push" ]; then
|
||||
# output type=docker does not work with pushing
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
django-auth-ldap==5.2.0
|
||||
dulwich==0.23.1
|
||||
dulwich==0.23.2
|
||||
python3-saml==1.16.0
|
||||
--no-binary lxml
|
||||
--no-binary xmlsec
|
||||
|
|
|
|||
Loading…
Reference in a new issue