mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2026-03-18 14:26:53 +00:00
Compare commits
4 commits
b89f0a944f
...
6fac0d756a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6fac0d756a | ||
|
|
aa6250c1e6 | ||
|
|
f0d0bbc852 | ||
|
|
1815408e73 |
|
|
@ -1,7 +1,7 @@
|
|||
ARG FROM
|
||||
FROM ${FROM} AS builder
|
||||
|
||||
COPY --from=ghcr.io/astral-sh/uv:0.9 /uv /usr/local/bin/
|
||||
COPY --from=ghcr.io/astral-sh/uv:0.10 /uv /usr/local/bin/
|
||||
RUN export DEBIAN_FRONTEND=noninteractive \
|
||||
&& apt-get update -qq \
|
||||
&& apt-get upgrade \
|
||||
|
|
|
|||
7
build.sh
7
build.sh
|
|
@ -104,6 +104,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}
|
||||
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue