➜ time docker build --no-cache --target final-dev -t nautodev:local --build-arg PYTHON_VER=3.7 --build-arg PYUWSGI_VER=2.0.20 -f docker/Dockerfile .
[+] Building 161.9s (30/30) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 12.88kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 367B 0.0s
=> [internal] load metadata for docker.io/library/python:3.7-slim 0.9s
=> [auth] library/python:pull token for registry-1.docker.io 0.0s
=> CACHED [base 1/4] FROM docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> => resolve docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> [internal] load build context 1.6s
=> => transferring context: 74.35MB 1.6s
=> [base 2/4] RUN apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y git mime-support curl libxml2 libmariadb3 openssl && apt-get autoremove -y && apt-get clean all && rm -rf /var/lib/apt/lists/ 7.7s
=> [base 3/4] RUN mkdir /opt/nautobot /prom_cache 0.3s
=> [base 4/4] COPY docker/docker-entrypoint.sh /docker-entrypoint.sh 0.0s
=> [dependencies 1/7] RUN apt-get update && apt-get install --no-install-recommends -y build-essential libssl-dev libxmlsec1-dev libxmlsec1-openssl pkg-config libldap-dev libsasl2-dev libmariadb-dev && apt-get autoremove -y && apt-ge 10.0s
=> [dependencies 2/7] RUN curl -sSL https://install.python-poetry.org -o /tmp/install-poetry.py && python /tmp/install-poetry.py && rm -f /tmp/install-poetry.py 7.7s
=> [dependencies 3/7] RUN poetry config virtualenvs.create false && poetry config installer.parallel ${POETRY_PARALLEL:-false} 0.6s
=> [dependencies 4/7] COPY pyproject.toml poetry.lock README.md /source/ 0.0s
=> [dependencies 5/7] COPY examples /source/examples 0.0s
=> [dependencies 6/7] WORKDIR /source 0.0s
=> [dependencies 7/7] RUN pip install --no-cache-dir --no-binary=pyuwsgi pyuwsgi==2.0.20 && poetry install --no-root --no-dev --no-ansi --extras all 101.0s
=> [dependencies-dev-python 1/1] RUN poetry install --no-root --no-ansi --extras all 18.2s
=> [build-nautobot 1/3] COPY nautobot /source/nautobot 0.2s
=> [dependencies-dev-platform-arm64 1/2] RUN curl -Lo /usr/bin/hadolint https://github.com/hadolint/hadolint/releases/download/v2.10.0/hadolint-Linux-arm64 && chmod +x /usr/bin/hadolint 1.8s
=> [build-docs 1/3] COPY mkdocs.yml /source/ 0.0s
=> [build-docs 2/3] COPY docs /source/docs 0.1s
=> [build-docs 3/3] RUN mkdocs build --no-directory-urls 1.5s
=> [build-nautobot 2/3] COPY --from=build-docs /source/docs /source/docs 0.1s
=> [build-nautobot 3/3] RUN poetry build 4.9s
=> [dependencies-dev-platform-arm64 2/2] RUN curl -Lo /tmp/node.tar.xz https://nodejs.org/dist/v17.9.0/node-v17.9.0-linux-arm64.tar.xz && mkdir -p /usr/local/lib/nodejs && tar -xf /tmp/node.tar.xz -C /usr/local/lib/nodejs && rm -rf /t 7.3s
=> [dependencies-dev 1/3] COPY --from=build-nautobot /source /source 0.4s
=> [dependencies-dev 2/3] RUN npm install --global markdownlint-cli@0.31.1 2.4s
=> [dependencies-dev 3/3] COPY development/nautobot_config.py /opt/nautobot/nautobot_config.py 0.0s
=> [final-dev 1/1] RUN pip install --no-deps --no-cache-dir /source/dist/*.whl && rm -rf /source 1.5s
=> exporting to image 1.7s
=> => exporting layers 1.7s
=> => writing image sha256:cbe0f478050fad98bcfe3342aed3ef748910179c5638c3cf65e60209c6b91a48 0.0s
=> => naming to docker.io/library/nautodev:local 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
docker build --no-cache --target final-dev -t nautodev:local --build-arg - 1.17s user 1.27s system 1% cpu 2:42.46 total
➜ time docker build --no-cache --target final -t nautodev:local --build-arg PYTHON_VER=3.7 --build-arg PYUWSGI_VER=2.0.20 -f docker/Dockerfile .
[+] Building 156.5s (33/33) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 35B 0.0s
=> [internal] load metadata for docker.io/library/python:3.7-slim 0.3s
=> [internal] load build context 0.1s
=> => transferring context: 133.22kB 0.1s
=> CACHED [base 1/4] FROM docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> => resolve docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> [base 2/4] RUN apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y git mime-support curl libxml2 libmariadb3 openssl && apt-get autoremove -y && apt-get clean all && rm -rf /var/lib/apt/lists/ 7.0s
=> [base 3/4] RUN mkdir /opt/nautobot /prom_cache 0.2s
=> [base 4/4] COPY docker/docker-entrypoint.sh /docker-entrypoint.sh 0.0s
=> [dependencies 1/7] RUN apt-get update && apt-get install --no-install-recommends -y build-essential libssl-dev libxmlsec1-dev libxmlsec1-openssl pkg-config libldap-dev libsasl2-dev libmariadb-dev && apt-get autoremove -y && apt-ge 10.4s
=> [dependencies 2/7] RUN curl -sSL https://install.python-poetry.org -o /tmp/install-poetry.py && python /tmp/install-poetry.py && rm -f /tmp/install-poetry.py 7.7s
=> [dependencies 3/7] RUN poetry config virtualenvs.create false && poetry config installer.parallel ${POETRY_PARALLEL:-false} 0.6s
=> [dependencies 4/7] COPY pyproject.toml poetry.lock README.md /source/ 0.0s
=> [dependencies 5/7] COPY examples /source/examples 0.0s
=> [dependencies 6/7] WORKDIR /source 0.0s
=> [dependencies 7/7] RUN pip install --no-cache-dir --no-binary=pyuwsgi pyuwsgi==2.0.20 && poetry install --no-root --no-dev --no-ansi --extras all 98.7s
=> [dependencies-dev-python 1/1] RUN poetry install --no-root --no-ansi --extras all 17.9s
=> [build-nautobot 1/3] COPY nautobot /source/nautobot 0.2s
=> [build-docs 1/3] COPY mkdocs.yml /source/ 0.0s
=> [build-docs 2/3] COPY docs /source/docs 0.1s
=> [build-docs 3/3] RUN mkdocs build --no-directory-urls 1.3s
=> [build-nautobot 2/3] COPY --from=build-docs /source/docs /source/docs 0.1s
=> [build-nautobot 3/3] RUN poetry build 4.7s
=> [final 1/10] COPY --from=build-nautobot /usr/local/lib/python3.7/site-packages /usr/local/lib/python3.7/site-packages 1.6s
=> [final 2/10] COPY --from=build-nautobot /usr/local/bin /usr/local/bin 0.0s
=> [final 3/10] COPY --from=build-nautobot /source/dist/*.whl /tmp 0.1s
=> [final 4/10] RUN pip install --no-deps --no-cache-dir /tmp/*.whl && rm -rf /tmp/*.whl 1.5s
=> [final 5/10] RUN openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj '/C=US/ST=NY/L=NYC/O=Nautobot/CN=nautobot.local' -keyout /opt/nautobot/nautobot.key -out /opt/nautobot/nautobot.crt 0.8s
=> [final 6/10] COPY docker/uwsgi.ini /opt/nautobot 0.0s
=> [final 7/10] COPY docker/nautobot_config.append.py /opt/nautobot 0.0s
=> [final 8/10] RUN useradd --system --shell /bin/bash --create-home --home-dir /opt/nautobot nautobot && chown -R nautobot:nautobot /opt/nautobot /prom_cache 0.1s
=> [final 9/10] WORKDIR /opt/nautobot 0.0s
=> [final 10/10] RUN nautobot-server init && cat /opt/nautobot/nautobot_config.append.py >> /opt/nautobot/nautobot_config.py && rm -f /opt/nautobot/nautobot_config.append.py 0.5s
=> exporting to image 1.3s
=> => exporting layers 1.3s
=> => writing image sha256:84d603b43d704dbb400d7e96e1d1e026042cb68f106dd0bbf1465ddcf7c0fcde 0.0s
=> => naming to docker.io/library/nautodev:local 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
docker build --no-cache --target final -t nautodev:local --build-arg -f . 0.76s user 0.67s system 0% cpu 2:37.11 total
➜ time docker build --no-cache --target dev -t nautodev:local --build-arg PYTHON_VER=3.7 --build-arg PYUWSGI_VER=2.0.20 -f docker/Dockerfile .
[+] Building 169.5s (30/30) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 35B 0.0s
=> [internal] load metadata for docker.io/library/python:3.7-slim 0.7s
=> [auth] library/python:pull token for registry-1.docker.io 0.0s
=> CACHED [base 1/4] FROM docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> => resolve docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 134.23kB 0.1s
=> [base 2/4] RUN apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y git mime-support curl libxml2 libmariadb3 openssl && apt-get autoremove -y && apt-get clean all && rm -rf /var/lib/apt/lists/ 7.2s
=> [base 3/4] RUN mkdir /opt/nautobot /prom_cache 0.3s
=> [base 4/4] COPY docker/docker-entrypoint.sh /docker-entrypoint.sh 0.0s
=> [dependencies 1/7] RUN apt-get update && apt-get install --no-install-recommends -y build-essential libssl-dev libxmlsec1-dev libxmlsec1-openssl pkg-config libldap-dev libsasl2-dev libmariadb-dev && apt-get autoremove -y && apt-ge 10.1s
=> [dependencies 2/7] RUN curl -sSL https://install.python-poetry.org -o /tmp/install-poetry.py && python /tmp/install-poetry.py && rm -f /tmp/install-poetry.py 7.3s
=> [dependencies 3/7] RUN poetry config virtualenvs.create false && poetry config installer.parallel ${POETRY_PARALLEL:-false} 0.7s
=> [dependencies 4/7] COPY pyproject.toml poetry.lock README.md /source/ 0.0s
=> [dependencies 5/7] COPY examples /source/examples 0.0s
=> [dependencies 6/7] WORKDIR /source 0.0s
=> [dependencies 7/7] RUN pip install --no-cache-dir --no-binary=pyuwsgi pyuwsgi==2.0.20 && poetry install --no-root --no-dev --no-ansi --extras all 109.6s
=> [dependencies-dev-python 1/1] RUN poetry install --no-root --no-ansi --extras all 18.3s
=> [build-nautobot 1/3] COPY nautobot /source/nautobot 0.2s
=> [dependencies-dev-platform-arm64 1/2] RUN curl -Lo /usr/bin/hadolint https://github.com/hadolint/hadolint/releases/download/v2.10.0/hadolint-Linux-arm64 && chmod +x /usr/bin/hadolint 1.3s
=> [build-docs 1/3] COPY mkdocs.yml /source/ 0.0s
=> [build-docs 2/3] COPY docs /source/docs 0.1s
=> [build-docs 3/3] RUN mkdocs build --no-directory-urls 1.5s
=> [dependencies-dev-platform-arm64 2/2] RUN curl -Lo /tmp/node.tar.xz https://nodejs.org/dist/v17.9.0/node-v17.9.0-linux-arm64.tar.xz && mkdir -p /usr/local/lib/nodejs && tar -xf /tmp/node.tar.xz -C /usr/local/lib/nodejs && rm -rf /t 3.3s
=> [build-nautobot 2/3] COPY --from=build-docs /source/docs /source/docs 0.1s
=> [build-nautobot 3/3] RUN poetry build 5.0s
=> [dependencies-dev 1/3] COPY --from=build-nautobot /source /source 0.4s
=> [dependencies-dev 2/3] RUN npm install --global markdownlint-cli@0.31.1 2.4s
=> [dependencies-dev 3/3] COPY development/nautobot_config.py /opt/nautobot/nautobot_config.py 0.0s
=> [dev 1/1] RUN poetry install --no-ansi && rm -rf /source 2.8s
=> exporting to image 1.7s
=> => exporting layers 1.7s
=> => writing image sha256:16b76871947ad8a27f4747c5e7b0bb8d77dcc7ff4fc128db7eccd1ff78219e8d 0.0s
=> => naming to docker.io/library/nautodev:local 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
docker build --no-cache --target dev -t nautodev:local --build-arg -f . 0.84s user 0.72s system 0% cpu 2:50.11 total
➜ time docker build --target final -t nautodev:local --build-arg PYTHON_VER=3.7 --build-arg PYUWSGI_VER=2.0.20 -f docker/Dockerfile .
[+] Building 0.9s (34/34) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 35B 0.0s
=> [internal] load metadata for docker.io/library/python:3.7-slim 0.7s
=> [auth] library/python:pull token for registry-1.docker.io 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 133.22kB 0.1s
=> [base 1/4] FROM docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> => resolve docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> CACHED [base 2/4] RUN apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y git mime-support curl libxml2 libmariadb3 openssl && apt-get autoremove -y && apt-get clean all && rm -rf /var/lib/apt 0.0s
=> CACHED [base 3/4] RUN mkdir /opt/nautobot /prom_cache 0.0s
=> CACHED [base 4/4] COPY docker/docker-entrypoint.sh /docker-entrypoint.sh 0.0s
=> CACHED [dependencies 1/7] RUN apt-get update && apt-get install --no-install-recommends -y build-essential libssl-dev libxmlsec1-dev libxmlsec1-openssl pkg-config libldap-dev libsasl2-dev libmariadb-dev && apt-get autoremove -y && 0.0s
=> CACHED [dependencies 2/7] RUN curl -sSL https://install.python-poetry.org -o /tmp/install-poetry.py && python /tmp/install-poetry.py && rm -f /tmp/install-poetry.py 0.0s
=> CACHED [dependencies 3/7] RUN poetry config virtualenvs.create false && poetry config installer.parallel ${POETRY_PARALLEL:-false} 0.0s
=> CACHED [dependencies 4/7] COPY pyproject.toml poetry.lock README.md /source/ 0.0s
=> CACHED [dependencies 5/7] COPY examples /source/examples 0.0s
=> CACHED [dependencies 6/7] WORKDIR /source 0.0s
=> CACHED [dependencies 7/7] RUN pip install --no-cache-dir --no-binary=pyuwsgi pyuwsgi==2.0.20 && poetry install --no-root --no-dev --no-ansi --extras all 0.0s
=> CACHED [build-nautobot 1/3] COPY nautobot /source/nautobot 0.0s
=> CACHED [dependencies-dev-python 1/1] RUN poetry install --no-root --no-ansi --extras all 0.0s
=> CACHED [build-docs 1/3] COPY mkdocs.yml /source/ 0.0s
=> CACHED [build-docs 2/3] COPY docs /source/docs 0.0s
=> CACHED [build-docs 3/3] RUN mkdocs build --no-directory-urls 0.0s
=> CACHED [build-nautobot 2/3] COPY --from=build-docs /source/docs /source/docs 0.0s
=> CACHED [build-nautobot 3/3] RUN poetry build 0.0s
=> CACHED [final 1/10] COPY --from=build-nautobot /usr/local/lib/python3.7/site-packages /usr/local/lib/python3.7/site-packages 0.0s
=> CACHED [final 2/10] COPY --from=build-nautobot /usr/local/bin /usr/local/bin 0.0s
=> CACHED [final 3/10] COPY --from=build-nautobot /source/dist/*.whl /tmp 0.0s
=> CACHED [final 4/10] RUN pip install --no-deps --no-cache-dir /tmp/*.whl && rm -rf /tmp/*.whl 0.0s
=> CACHED [final 5/10] RUN openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj '/C=US/ST=NY/L=NYC/O=Nautobot/CN=nautobot.local' -keyout /opt/nautobot/nautobot.key -out /opt/nautobot/nautobot.crt 0.0s
=> CACHED [final 6/10] COPY docker/uwsgi.ini /opt/nautobot 0.0s
=> CACHED [final 7/10] COPY docker/nautobot_config.append.py /opt/nautobot 0.0s
=> CACHED [final 8/10] RUN useradd --system --shell /bin/bash --create-home --home-dir /opt/nautobot nautobot && chown -R nautobot:nautobot /opt/nautobot /prom_cache 0.0s
=> CACHED [final 9/10] WORKDIR /opt/nautobot 0.0s
=> CACHED [final 10/10] RUN nautobot-server init && cat /opt/nautobot/nautobot_config.append.py >> /opt/nautobot/nautobot_config.py && rm -f /opt/nautobot/nautobot_config.append.py 0.0s
=> exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:84d603b43d704dbb400d7e96e1d1e026042cb68f106dd0bbf1465ddcf7c0fcde 0.0s
=> => naming to docker.io/library/nautodev:local 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
docker build --target final -t nautodev:local --build-arg PYTHON_VER=3.7 -f 0.20s user 0.24s system 27% cpu 1.585 total
nautobot on plugin_docs [⇡$]
➜ git status
On branch plugin_docs
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: nautobot/docs/models/dcim/powerfeed.md
no changes added to commit (use "git add" and/or "git commit -a")
nautobot on plugin_docs [⇡$!]
➜ time docker build --target final -t nautodev:local --build-arg PYTHON_VER=3.7 --build-arg PYUWSGI_VER=2.0.20 -f docker/Dockerfile .
[+] Building 11.8s (33/33) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 35B 0.0s
=> [internal] load metadata for docker.io/library/python:3.7-slim 0.3s
=> [internal] load build context 0.1s
=> => transferring context: 134.23kB 0.1s
=> [base 1/4] FROM docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> => resolve docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> CACHED [base 2/4] RUN apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y git mime-support curl libxml2 libmariadb3 openssl && apt-get autoremove -y && apt-get clean all && rm -rf /var/lib/apt 0.0s
=> CACHED [base 3/4] RUN mkdir /opt/nautobot /prom_cache 0.0s
=> CACHED [base 4/4] COPY docker/docker-entrypoint.sh /docker-entrypoint.sh 0.0s
=> CACHED [dependencies 1/7] RUN apt-get update && apt-get install --no-install-recommends -y build-essential libssl-dev libxmlsec1-dev libxmlsec1-openssl pkg-config libldap-dev libsasl2-dev libmariadb-dev && apt-get autoremove -y && 0.0s
=> CACHED [dependencies 2/7] RUN curl -sSL https://install.python-poetry.org -o /tmp/install-poetry.py && python /tmp/install-poetry.py && rm -f /tmp/install-poetry.py 0.0s
=> CACHED [dependencies 3/7] RUN poetry config virtualenvs.create false && poetry config installer.parallel ${POETRY_PARALLEL:-false} 0.0s
=> CACHED [dependencies 4/7] COPY pyproject.toml poetry.lock README.md /source/ 0.0s
=> CACHED [dependencies 5/7] COPY examples /source/examples 0.0s
=> CACHED [dependencies 6/7] WORKDIR /source 0.0s
=> CACHED [dependencies 7/7] RUN pip install --no-cache-dir --no-binary=pyuwsgi pyuwsgi==2.0.20 && poetry install --no-root --no-dev --no-ansi --extras all 0.0s
=> CACHED [dependencies-dev-python 1/1] RUN poetry install --no-root --no-ansi --extras all 0.0s
=> CACHED [build-docs 1/3] COPY mkdocs.yml /source/ 0.0s
=> [build-nautobot 1/3] COPY nautobot /source/nautobot 0.3s
=> [build-docs 2/3] COPY docs /source/docs 0.1s
=> [build-docs 3/3] RUN mkdocs build --no-directory-urls 1.4s
=> [build-nautobot 2/3] COPY --from=build-docs /source/docs /source/docs 0.1s
=> [build-nautobot 3/3] RUN poetry build 4.8s
=> CACHED [final 1/10] COPY --from=build-nautobot /usr/local/lib/python3.7/site-packages /usr/local/lib/python3.7/site-packages 0.0s
=> CACHED [final 2/10] COPY --from=build-nautobot /usr/local/bin /usr/local/bin 0.0s
=> [final 3/10] COPY --from=build-nautobot /source/dist/*.whl /tmp 0.1s
=> [final 4/10] RUN pip install --no-deps --no-cache-dir /tmp/*.whl && rm -rf /tmp/*.whl 1.4s
=> [final 5/10] RUN openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj '/C=US/ST=NY/L=NYC/O=Nautobot/CN=nautobot.local' -keyout /opt/nautobot/nautobot.key -out /opt/nautobot/nautobot.crt 0.7s
=> [final 6/10] COPY docker/uwsgi.ini /opt/nautobot 0.0s
=> [final 7/10] COPY docker/nautobot_config.append.py /opt/nautobot 0.0s
=> [final 8/10] RUN useradd --system --shell /bin/bash --create-home --home-dir /opt/nautobot nautobot && chown -R nautobot:nautobot /opt/nautobot /prom_cache 0.2s
=> [final 9/10] WORKDIR /opt/nautobot 0.0s
=> [final 10/10] RUN nautobot-server init && cat /opt/nautobot/nautobot_config.append.py >> /opt/nautobot/nautobot_config.py && rm -f /opt/nautobot/nautobot_config.append.py 0.4s
=> exporting to image 0.2s
=> => exporting layers 0.2s
=> => writing image sha256:d97003a34ac9c3cbbe2f0d3b84ae6d30cf9794324419fd44016299b7ae0c856c 0.0s
=> => naming to docker.io/library/nautodev:local 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
docker build --target final -t nautodev:local --build-arg PYTHON_VER=3.7 -f 0.20s user 0.26s system 3% cpu 12.459 total
➜ git status
On branch plugin_docs
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: nautobot/docs/models/dcim/powerfeed.md
no changes added to commit (use "git add" and/or "git commit -a")
➜ time docker build --target dev -t nautodev:local --build-arg PYTHON_VER=3.7 --build-arg PYUWSGI_VER=2.0.20 -f docker/Dockerfile .
[+] Building 11.4s (29/29) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 35B 0.0s
=> [internal] load metadata for docker.io/library/python:3.7-slim 0.3s
=> [internal] load build context 0.1s
=> => transferring context: 131.34kB 0.1s
=> [base 1/4] FROM docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> => resolve docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> CACHED [base 2/4] RUN apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y git mime-support curl libxml2 libmariadb3 openssl && apt-get autoremove -y && apt-get clean all && rm -rf /var/lib/apt 0.0s
=> CACHED [base 3/4] RUN mkdir /opt/nautobot /prom_cache 0.0s
=> CACHED [base 4/4] COPY docker/docker-entrypoint.sh /docker-entrypoint.sh 0.0s
=> CACHED [dependencies 1/7] RUN apt-get update && apt-get install --no-install-recommends -y build-essential libssl-dev libxmlsec1-dev libxmlsec1-openssl pkg-config libldap-dev libsasl2-dev libmariadb-dev && apt-get autoremove -y && 0.0s
=> CACHED [dependencies 2/7] RUN curl -sSL https://install.python-poetry.org -o /tmp/install-poetry.py && python /tmp/install-poetry.py && rm -f /tmp/install-poetry.py 0.0s
=> CACHED [dependencies 3/7] RUN poetry config virtualenvs.create false && poetry config installer.parallel ${POETRY_PARALLEL:-false} 0.0s
=> CACHED [dependencies 4/7] COPY pyproject.toml poetry.lock README.md /source/ 0.0s
=> CACHED [dependencies 5/7] COPY examples /source/examples 0.0s
=> CACHED [dependencies 6/7] WORKDIR /source 0.0s
=> CACHED [dependencies 7/7] RUN pip install --no-cache-dir --no-binary=pyuwsgi pyuwsgi==2.0.20 && poetry install --no-root --no-dev --no-ansi --extras all 0.0s
=> CACHED [dependencies-dev-python 1/1] RUN poetry install --no-root --no-ansi --extras all 0.0s
=> CACHED [build-docs 1/3] COPY mkdocs.yml /source/ 0.0s
=> [build-docs 2/3] COPY docs /source/docs 0.1s
=> [build-nautobot 1/3] COPY nautobot /source/nautobot 0.2s
=> [build-docs 3/3] RUN mkdocs build --no-directory-urls 1.4s
=> [build-nautobot 2/3] COPY --from=build-docs /source/docs /source/docs 0.1s
=> [build-nautobot 3/3] RUN poetry build 4.9s
=> CACHED [dependencies-dev-platform-arm64 1/2] RUN curl -Lo /usr/bin/hadolint https://github.com/hadolint/hadolint/releases/download/v2.10.0/hadolint-Linux-arm64 && chmod +x /usr/bin/hadolint 0.0s
=> CACHED [dependencies-dev-platform-arm64 2/2] RUN curl -Lo /tmp/node.tar.xz https://nodejs.org/dist/v17.9.0/node-v17.9.0-linux-arm64.tar.xz && mkdir -p /usr/local/lib/nodejs && tar -xf /tmp/node.tar.xz -C /usr/local/lib/nodejs && rm 0.0s
=> CACHED [dependencies-dev 1/3] RUN npm install --global markdownlint-cli@0.31.1 0.0s
=> [dependencies-dev 2/3] COPY --from=build-nautobot /source /source 0.4s
=> [dependencies-dev 3/3] COPY development/nautobot_config.py /opt/nautobot/nautobot_config.py 0.0s
=> [dev 1/1] RUN poetry install --no-ansi && rm -rf /source 2.6s
=> exporting to image 0.4s
=> => exporting layers 0.4s
=> => writing image sha256:545e8ef6431f18799b082f5c408435df50c709c6d11f2d036f5d4dcf7721a495 0.0s
=> => naming to docker.io/library/nautodev:local 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
docker build --target dev -t nautodev:local --build-arg PYTHON_VER=3.7 -f 0.19s user 0.22s system 3% cpu 11.920 total
nautobot on plugin_docs [⇡$]
➜ git status
On branch plugin_docs
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: nautobot/extras/jobs.py
no changes added to commit (use "git add" and/or "git commit -a")
nautobot on plugin_docs [⇡$!]
➜ time docker build --target final -t nautodev:local --build-arg PYTHON_VER=3.7 --build-arg PYUWSGI_VER=2.0.20 -f docker/Dockerfile .
[+] Building 12.0s (34/34) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 35B 0.0s
=> [internal] load metadata for docker.io/library/python:3.7-slim 0.8s
=> [auth] library/python:pull token for registry-1.docker.io 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 175.75kB 0.1s
=> [base 1/4] FROM docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> => resolve docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> CACHED [base 2/4] RUN apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y git mime-support curl libxml2 libmariadb3 openssl && apt-get autoremove -y && apt-get clean all && rm -rf /var/lib/apt 0.0s
=> CACHED [base 3/4] RUN mkdir /opt/nautobot /prom_cache 0.0s
=> CACHED [base 4/4] COPY docker/docker-entrypoint.sh /docker-entrypoint.sh 0.0s
=> CACHED [dependencies 1/7] RUN apt-get update && apt-get install --no-install-recommends -y build-essential libssl-dev libxmlsec1-dev libxmlsec1-openssl pkg-config libldap-dev libsasl2-dev libmariadb-dev && apt-get autoremove -y && 0.0s
=> CACHED [dependencies 2/7] RUN curl -sSL https://install.python-poetry.org -o /tmp/install-poetry.py && python /tmp/install-poetry.py && rm -f /tmp/install-poetry.py 0.0s
=> CACHED [dependencies 3/7] RUN poetry config virtualenvs.create false && poetry config installer.parallel ${POETRY_PARALLEL:-false} 0.0s
=> CACHED [dependencies 4/7] COPY pyproject.toml poetry.lock README.md /source/ 0.0s
=> CACHED [dependencies 5/7] COPY examples /source/examples 0.0s
=> CACHED [dependencies 6/7] WORKDIR /source 0.0s
=> CACHED [dependencies 7/7] RUN pip install --no-cache-dir --no-binary=pyuwsgi pyuwsgi==2.0.20 && poetry install --no-root --no-dev --no-ansi --extras all 0.0s
=> CACHED [dependencies-dev-python 1/1] RUN poetry install --no-root --no-ansi --extras all 0.0s
=> CACHED [build-docs 1/3] COPY mkdocs.yml /source/ 0.0s
=> CACHED [build-docs 2/3] COPY docs /source/docs 0.0s
=> CACHED [build-docs 3/3] RUN mkdocs build --no-directory-urls 0.0s
=> [build-nautobot 1/3] COPY nautobot /source/nautobot 0.3s
=> [build-nautobot 2/3] COPY --from=build-docs /source/docs /source/docs 0.1s
=> [build-nautobot 3/3] RUN poetry build 4.9s
=> CACHED [final 1/10] COPY --from=build-nautobot /usr/local/lib/python3.7/site-packages /usr/local/lib/python3.7/site-packages 0.0s
=> CACHED [final 2/10] COPY --from=build-nautobot /usr/local/bin /usr/local/bin 0.0s
=> [final 3/10] COPY --from=build-nautobot /source/dist/*.whl /tmp 0.1s
=> [final 4/10] RUN pip install --no-deps --no-cache-dir /tmp/*.whl && rm -rf /tmp/*.whl 1.5s
=> [final 5/10] RUN openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj '/C=US/ST=NY/L=NYC/O=Nautobot/CN=nautobot.local' -keyout /opt/nautobot/nautobot.key -out /opt/nautobot/nautobot.crt 0.7s
=> [final 6/10] COPY docker/uwsgi.ini /opt/nautobot 0.0s
=> [final 7/10] COPY docker/nautobot_config.append.py /opt/nautobot 0.0s
=> [final 8/10] RUN useradd --system --shell /bin/bash --create-home --home-dir /opt/nautobot nautobot && chown -R nautobot:nautobot /opt/nautobot /prom_cache 0.2s
=> [final 9/10] WORKDIR /opt/nautobot 0.0s
=> [final 10/10] RUN nautobot-server init && cat /opt/nautobot/nautobot_config.append.py >> /opt/nautobot/nautobot_config.py && rm -f /opt/nautobot/nautobot_config.append.py 0.5s
=> exporting to image 0.2s
=> => exporting layers 0.2s
=> => writing image sha256:ed3f5d44b95dcccd65b04e780dfbb5b0e347d130ab4bb940793d90a1d9996b4f 0.0s
=> => naming to docker.io/library/nautodev:local 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
docker build --target final -t nautodev:local --build-arg PYTHON_VER=3.7 -f 0.26s user 0.30s system 4% cpu 12.650 total
nautobot on plugin_docs [⇡$!]
➜ git status
On branch plugin_docs
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: nautobot/extras/jobs.py
no changes added to commit (use "git add" and/or "git commit -a")
nautobot on plugin_docs [⇡$!]
➜ time docker build --target dev -t nautodev:local --build-arg PYTHON_VER=3.7 --build-arg PYUWSGI_VER=2.0.20 -f docker/Dockerfile .
[+] Building 10.3s (29/29) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 35B 0.0s
=> [internal] load metadata for docker.io/library/python:3.7-slim 0.4s
=> [base 1/4] FROM docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> => resolve docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 175.76kB 0.1s
=> CACHED [base 2/4] RUN apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y git mime-support curl libxml2 libmariadb3 openssl && apt-get autoremove -y && apt-get clean all && rm -rf /var/lib/apt 0.0s
=> CACHED [base 3/4] RUN mkdir /opt/nautobot /prom_cache 0.0s
=> CACHED [base 4/4] COPY docker/docker-entrypoint.sh /docker-entrypoint.sh 0.0s
=> CACHED [dependencies 1/7] RUN apt-get update && apt-get install --no-install-recommends -y build-essential libssl-dev libxmlsec1-dev libxmlsec1-openssl pkg-config libldap-dev libsasl2-dev libmariadb-dev && apt-get autoremove -y && 0.0s
=> CACHED [dependencies 2/7] RUN curl -sSL https://install.python-poetry.org -o /tmp/install-poetry.py && python /tmp/install-poetry.py && rm -f /tmp/install-poetry.py 0.0s
=> CACHED [dependencies 3/7] RUN poetry config virtualenvs.create false && poetry config installer.parallel ${POETRY_PARALLEL:-false} 0.0s
=> CACHED [dependencies 4/7] COPY pyproject.toml poetry.lock README.md /source/ 0.0s
=> CACHED [dependencies 5/7] COPY examples /source/examples 0.0s
=> CACHED [dependencies 6/7] WORKDIR /source 0.0s
=> CACHED [dependencies 7/7] RUN pip install --no-cache-dir --no-binary=pyuwsgi pyuwsgi==2.0.20 && poetry install --no-root --no-dev --no-ansi --extras all 0.0s
=> CACHED [dependencies-dev-python 1/1] RUN poetry install --no-root --no-ansi --extras all 0.0s
=> CACHED [build-docs 1/3] COPY mkdocs.yml /source/ 0.0s
=> CACHED [build-docs 2/3] COPY docs /source/docs 0.0s
=> CACHED [build-docs 3/3] RUN mkdocs build --no-directory-urls 0.0s
=> [build-nautobot 1/3] COPY nautobot /source/nautobot 0.2s
=> [build-nautobot 2/3] COPY --from=build-docs /source/docs /source/docs 0.1s
=> [build-nautobot 3/3] RUN poetry build 4.9s
=> CACHED [dependencies-dev-platform-arm64 1/2] RUN curl -Lo /usr/bin/hadolint https://github.com/hadolint/hadolint/releases/download/v2.10.0/hadolint-Linux-arm64 && chmod +x /usr/bin/hadolint 0.0s
=> CACHED [dependencies-dev-platform-arm64 2/2] RUN curl -Lo /tmp/node.tar.xz https://nodejs.org/dist/v17.9.0/node-v17.9.0-linux-arm64.tar.xz && mkdir -p /usr/local/lib/nodejs && tar -xf /tmp/node.tar.xz -C /usr/local/lib/nodejs && rm 0.0s
=> CACHED [dependencies-dev 1/3] RUN npm install --global markdownlint-cli@0.31.1 0.0s
=> [dependencies-dev 2/3] COPY --from=build-nautobot /source /source 0.4s
=> [dependencies-dev 3/3] COPY development/nautobot_config.py /opt/nautobot/nautobot_config.py 0.0s
=> [dev 1/1] RUN poetry install --no-ansi && rm -rf /source 2.7s
=> exporting to image 0.4s
=> => exporting layers 0.4s
=> => writing image sha256:3e73645e7199d3ae98e787df51d07b51206fea210d071f1658b0155d045f5984 0.0s
=> => naming to docker.io/library/nautodev:local 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
docker build --target dev -t nautodev:local --build-arg PYTHON_VER=3.7 -f 0.20s user 0.25s system 4% cpu 10.851 total
nautobot on plugin_docs [⇡$]
➜ git status
On branch plugin_docs
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: nautobot/dcim/models/power.py
modified: nautobot/docs/models/dcim/powerfeed.md
no changes added to commit (use "git add" and/or "git commit -a")
nautobot on plugin_docs [⇡$!]
➜ time docker build --target final -t nautodev:local --build-arg PYTHON_VER=3.7 --build-arg PYUWSGI_VER=2.0.20 -f docker/Dockerfile .
[+] Building 13.7s (34/34) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 35B 0.0s
=> [internal] load metadata for docker.io/library/python:3.7-slim 0.8s
=> [auth] library/python:pull token for registry-1.docker.io 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 341.96kB 0.1s
=> [base 1/4] FROM docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> => resolve docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> CACHED [base 2/4] RUN apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y git mime-support curl libxml2 libmariadb3 openssl && apt-get autoremove -y && apt-get clean all && rm -rf /var/lib/apt 0.0s
=> CACHED [base 3/4] RUN mkdir /opt/nautobot /prom_cache 0.0s
=> CACHED [base 4/4] COPY docker/docker-entrypoint.sh /docker-entrypoint.sh 0.0s
=> CACHED [dependencies 1/7] RUN apt-get update && apt-get install --no-install-recommends -y build-essential libssl-dev libxmlsec1-dev libxmlsec1-openssl pkg-config libldap-dev libsasl2-dev libmariadb-dev && apt-get autoremove -y && 0.0s
=> CACHED [dependencies 2/7] RUN curl -sSL https://install.python-poetry.org -o /tmp/install-poetry.py && python /tmp/install-poetry.py && rm -f /tmp/install-poetry.py 0.0s
=> CACHED [dependencies 3/7] RUN poetry config virtualenvs.create false && poetry config installer.parallel ${POETRY_PARALLEL:-false} 0.0s
=> CACHED [dependencies 4/7] COPY pyproject.toml poetry.lock README.md /source/ 0.0s
=> CACHED [dependencies 5/7] COPY examples /source/examples 0.0s
=> CACHED [dependencies 6/7] WORKDIR /source 0.0s
=> CACHED [dependencies 7/7] RUN pip install --no-cache-dir --no-binary=pyuwsgi pyuwsgi==2.0.20 && poetry install --no-root --no-dev --no-ansi --extras all 0.0s
=> CACHED [dependencies-dev-python 1/1] RUN poetry install --no-root --no-ansi --extras all 0.0s
=> CACHED [build-docs 1/3] COPY mkdocs.yml /source/ 0.0s
=> [build-nautobot 1/3] COPY nautobot /source/nautobot 0.5s
=> [build-docs 2/3] COPY docs /source/docs 0.2s
=> [build-docs 3/3] RUN mkdocs build --no-directory-urls 1.5s
=> [build-nautobot 2/3] COPY --from=build-docs /source/docs /source/docs 0.1s
=> [build-nautobot 3/3] RUN poetry build 5.0s
=> CACHED [final 1/10] COPY --from=build-nautobot /usr/local/lib/python3.7/site-packages /usr/local/lib/python3.7/site-packages 0.0s
=> CACHED [final 2/10] COPY --from=build-nautobot /usr/local/bin /usr/local/bin 0.0s
=> [final 3/10] COPY --from=build-nautobot /source/dist/*.whl /tmp 0.1s
=> [final 4/10] RUN pip install --no-deps --no-cache-dir /tmp/*.whl && rm -rf /tmp/*.whl 1.6s
=> [final 5/10] RUN openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj '/C=US/ST=NY/L=NYC/O=Nautobot/CN=nautobot.local' -keyout /opt/nautobot/nautobot.key -out /opt/nautobot/nautobot.crt 0.4s
=> [final 6/10] COPY docker/uwsgi.ini /opt/nautobot 0.0s
=> [final 7/10] COPY docker/nautobot_config.append.py /opt/nautobot 0.0s
=> [final 8/10] RUN useradd --system --shell /bin/bash --create-home --home-dir /opt/nautobot nautobot && chown -R nautobot:nautobot /opt/nautobot /prom_cache 0.2s
=> [final 9/10] WORKDIR /opt/nautobot 0.0s
=> [final 10/10] RUN nautobot-server init && cat /opt/nautobot/nautobot_config.append.py >> /opt/nautobot/nautobot_config.py && rm -f /opt/nautobot/nautobot_config.append.py 0.6s
=> exporting to image 0.3s
=> => exporting layers 0.2s
=> => writing image sha256:25b6f5387b12197ae11c95b9bdc80e5766c9c20903457fa3dbdcd38275959e88 0.0s
=> => naming to docker.io/library/nautodev:local 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
docker build --target final -t nautodev:local --build-arg PYTHON_VER=3.7 -f 0.25s user 0.28s system 3% cpu 14.322 total
nautobot on plugin_docs [⇡$!]
➜ git status
On branch plugin_docs
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: nautobot/dcim/models/power.py
modified: nautobot/docs/models/dcim/powerfeed.md
no changes added to commit (use "git add" and/or "git commit -a")
nautobot on plugin_docs [⇡$!]
➜ time docker build --target dev -t nautodev:local --build-arg PYTHON_VER=3.7 --build-arg PYUWSGI_VER=2.0.20 -f docker/Dockerfile .
[+] Building 11.8s (29/29) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 35B 0.0s
=> [internal] load metadata for docker.io/library/python:3.7-slim 0.4s
=> [internal] load build context 0.1s
=> => transferring context: 141.44kB 0.1s
=> [base 1/4] FROM docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> => resolve docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> CACHED [base 2/4] RUN apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y git mime-support curl libxml2 libmariadb3 openssl && apt-get autoremove -y && apt-get clean all && rm -rf /var/lib/apt 0.0s
=> CACHED [base 3/4] RUN mkdir /opt/nautobot /prom_cache 0.0s
=> CACHED [base 4/4] COPY docker/docker-entrypoint.sh /docker-entrypoint.sh 0.0s
=> CACHED [dependencies 1/7] RUN apt-get update && apt-get install --no-install-recommends -y build-essential libssl-dev libxmlsec1-dev libxmlsec1-openssl pkg-config libldap-dev libsasl2-dev libmariadb-dev && apt-get autoremove -y && 0.0s
=> CACHED [dependencies 2/7] RUN curl -sSL https://install.python-poetry.org -o /tmp/install-poetry.py && python /tmp/install-poetry.py && rm -f /tmp/install-poetry.py 0.0s
=> CACHED [dependencies 3/7] RUN poetry config virtualenvs.create false && poetry config installer.parallel ${POETRY_PARALLEL:-false} 0.0s
=> CACHED [dependencies 4/7] COPY pyproject.toml poetry.lock README.md /source/ 0.0s
=> CACHED [dependencies 5/7] COPY examples /source/examples 0.0s
=> CACHED [dependencies 6/7] WORKDIR /source 0.0s
=> CACHED [dependencies 7/7] RUN pip install --no-cache-dir --no-binary=pyuwsgi pyuwsgi==2.0.20 && poetry install --no-root --no-dev --no-ansi --extras all 0.0s
=> CACHED [dependencies-dev-python 1/1] RUN poetry install --no-root --no-ansi --extras all 0.0s
=> CACHED [build-docs 1/3] COPY mkdocs.yml /source/ 0.0s
=> [build-nautobot 1/3] COPY nautobot /source/nautobot 0.3s
=> [build-docs 2/3] COPY docs /source/docs 0.1s
=> [build-docs 3/3] RUN mkdocs build --no-directory-urls 1.4s
=> [build-nautobot 2/3] COPY --from=build-docs /source/docs /source/docs 0.1s
=> [build-nautobot 3/3] RUN poetry build 4.9s
=> CACHED [dependencies-dev-platform-arm64 1/2] RUN curl -Lo /usr/bin/hadolint https://github.com/hadolint/hadolint/releases/download/v2.10.0/hadolint-Linux-arm64 && chmod +x /usr/bin/hadolint 0.0s
=> CACHED [dependencies-dev-platform-arm64 2/2] RUN curl -Lo /tmp/node.tar.xz https://nodejs.org/dist/v17.9.0/node-v17.9.0-linux-arm64.tar.xz && mkdir -p /usr/local/lib/nodejs && tar -xf /tmp/node.tar.xz -C /usr/local/lib/nodejs && rm 0.0s
=> CACHED [dependencies-dev 1/3] RUN npm install --global markdownlint-cli@0.31.1 0.0s
=> [dependencies-dev 2/3] COPY --from=build-nautobot /source /source 0.5s
=> [dependencies-dev 3/3] COPY development/nautobot_config.py /opt/nautobot/nautobot_config.py 0.0s
=> [dev 1/1] RUN poetry install --no-ansi && rm -rf /source 2.7s
=> exporting to image 0.5s
=> => exporting layers 0.4s
=> => writing image sha256:98798c2f7e3c8a8bba96a95ae56f0a0436ace789315b38f6214db7ef4bc1325e 0.0s
=> => naming to docker.io/library/nautodev:local 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
docker build --target dev -t nautodev:local --build-arg PYTHON_VER=3.7 -f 0.20s user 0.27s system 3% cpu 12.553 total
nautobot on plugin_docs [⇡$!]
➜ git status
On branch plugin_docs
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: poetry.lock
modified: pyproject.toml
no changes added to commit (use "git add" and/or "git commit -a")
nautobot on plugin_docs [⇡$!]
➜ time docker build --target final -t nautodev:local --build-arg PYTHON_VER=3.7 --build-arg PYUWSGI_VER=2.0.20 -f docker/Dockerfile .
[+] Building 133.8s (33/33) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 35B 0.0s
=> [internal] load metadata for docker.io/library/python:3.7-slim 0.4s
=> [internal] load build context 0.1s
=> => transferring context: 377.24kB 0.1s
=> [base 1/4] FROM docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> => resolve docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> CACHED [base 2/4] RUN apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y git mime-support curl libxml2 libmariadb3 openssl && apt-get autoremove -y && apt-get clean all && rm -rf /var/lib/apt 0.0s
=> CACHED [base 3/4] RUN mkdir /opt/nautobot /prom_cache 0.0s
=> CACHED [base 4/4] COPY docker/docker-entrypoint.sh /docker-entrypoint.sh 0.0s
=> CACHED [dependencies 1/7] RUN apt-get update && apt-get install --no-install-recommends -y build-essential libssl-dev libxmlsec1-dev libxmlsec1-openssl pkg-config libldap-dev libsasl2-dev libmariadb-dev && apt-get autoremove -y && 0.0s
=> CACHED [dependencies 2/7] RUN curl -sSL https://install.python-poetry.org -o /tmp/install-poetry.py && python /tmp/install-poetry.py && rm -f /tmp/install-poetry.py 0.0s
=> CACHED [dependencies 3/7] RUN poetry config virtualenvs.create false && poetry config installer.parallel ${POETRY_PARALLEL:-false} 0.0s
=> [dependencies 4/7] COPY pyproject.toml poetry.lock README.md /source/ 0.0s
=> [dependencies 5/7] COPY examples /source/examples 0.0s
=> [dependencies 6/7] WORKDIR /source 0.0s
=> [dependencies 7/7] RUN pip install --no-cache-dir --no-binary=pyuwsgi pyuwsgi==2.0.20 && poetry install --no-root --no-dev --no-ansi --extras all 101.3s
=> [dependencies-dev-python 1/1] RUN poetry install --no-root --no-ansi --extras all 18.1s
=> [build-nautobot 1/3] COPY nautobot /source/nautobot 0.3s
=> [build-docs 1/3] COPY mkdocs.yml /source/ 0.0s
=> [build-docs 2/3] COPY docs /source/docs 0.1s
=> [build-docs 3/3] RUN mkdocs build --no-directory-urls 1.3s
=> [build-nautobot 2/3] COPY --from=build-docs /source/docs /source/docs 0.1s
=> [build-nautobot 3/3] RUN poetry build 4.8s
=> [final 1/10] COPY --from=build-nautobot /usr/local/lib/python3.7/site-packages /usr/local/lib/python3.7/site-packages 1.8s
=> [final 2/10] COPY --from=build-nautobot /usr/local/bin /usr/local/bin 0.0s
=> [final 3/10] COPY --from=build-nautobot /source/dist/*.whl /tmp 0.2s
=> [final 4/10] RUN pip install --no-deps --no-cache-dir /tmp/*.whl && rm -rf /tmp/*.whl 1.5s
=> [final 5/10] RUN openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj '/C=US/ST=NY/L=NYC/O=Nautobot/CN=nautobot.local' -keyout /opt/nautobot/nautobot.key -out /opt/nautobot/nautobot.crt 0.5s
=> [final 6/10] COPY docker/uwsgi.ini /opt/nautobot 0.0s
=> [final 7/10] COPY docker/nautobot_config.append.py /opt/nautobot 0.0s
=> [final 8/10] RUN useradd --system --shell /bin/bash --create-home --home-dir /opt/nautobot nautobot && chown -R nautobot:nautobot /opt/nautobot /prom_cache 0.2s
=> [final 9/10] WORKDIR /opt/nautobot 0.0s
=> [final 10/10] RUN nautobot-server init && cat /opt/nautobot/nautobot_config.append.py >> /opt/nautobot/nautobot_config.py && rm -f /opt/nautobot/nautobot_config.append.py 0.5s
=> exporting to image 1.4s
=> => exporting layers 1.4s
=> => writing image sha256:3f5235a68d7ce75ee80dbb7d6d6816325d7472d95caa0748bd1ae02861e46f55 0.0s
=> => naming to docker.io/library/nautodev:local 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
docker build --target final -t nautodev:local --build-arg PYTHON_VER=3.7 -f 0.64s user 0.58s system 0% cpu 2:14.41 total
nautobot on plugin_docs [⇡$!]
➜ git status
On branch plugin_docs
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: poetry.lock
modified: pyproject.toml
no changes added to commit (use "git add" and/or "git commit -a")
nautobot on plugin_docs [⇡$!]
➜ time docker build --target dev -t nautodev:local --build-arg PYTHON_VER=3.7 --build-arg PYUWSGI_VER=2.0.20 -f docker/Dockerfile .
[+] Building 134.5s (30/30) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 35B 0.0s
=> [internal] load metadata for docker.io/library/python:3.7-slim 1.1s
=> [auth] library/python:pull token for registry-1.docker.io 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 336.75kB 0.1s
=> [base 1/4] FROM docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> => resolve docker.io/library/python:3.7-slim@sha256:e720c669cd7188d6a7e36e567be6bde9feb931d66219f1e4ba2caeb30e35d2cd 0.0s
=> CACHED [base 2/4] RUN apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y git mime-support curl libxml2 libmariadb3 openssl && apt-get autoremove -y && apt-get clean all && rm -rf /var/lib/apt 0.0s
=> CACHED [base 3/4] RUN mkdir /opt/nautobot /prom_cache 0.0s
=> CACHED [base 4/4] COPY docker/docker-entrypoint.sh /docker-entrypoint.sh 0.0s
=> CACHED [dependencies 1/7] RUN apt-get update && apt-get install --no-install-recommends -y build-essential libssl-dev libxmlsec1-dev libxmlsec1-openssl pkg-config libldap-dev libsasl2-dev libmariadb-dev && apt-get autoremove -y && 0.0s
=> CACHED [dependencies 2/7] RUN curl -sSL https://install.python-poetry.org -o /tmp/install-poetry.py && python /tmp/install-poetry.py && rm -f /tmp/install-poetry.py 0.0s
=> CACHED [dependencies 3/7] RUN poetry config virtualenvs.create false && poetry config installer.parallel ${POETRY_PARALLEL:-false} 0.0s
=> [dependencies 4/7] COPY pyproject.toml poetry.lock README.md /source/ 0.0s
=> [dependencies 5/7] COPY examples /source/examples 0.0s
=> [dependencies 6/7] WORKDIR /source 0.0s
=> [dependencies 7/7] RUN pip install --no-cache-dir --no-binary=pyuwsgi pyuwsgi==2.0.20 && poetry install --no-root --no-dev --no-ansi --extras all 100.7s
=> [dependencies-dev-python 1/1] RUN poetry install --no-root --no-ansi --extras all 18.0s
=> [build-nautobot 1/3] COPY nautobot /source/nautobot 0.3s
=> [build-docs 1/3] COPY mkdocs.yml /source/ 0.0s
=> [dependencies-dev-platform-arm64 1/2] RUN curl -Lo /usr/bin/hadolint https://github.com/hadolint/hadolint/releases/download/v2.10.0/hadolint-Linux-arm64 && chmod +x /usr/bin/hadolint 1.6s
=> [build-docs 2/3] COPY docs /source/docs 0.1s
=> [build-docs 3/3] RUN mkdocs build --no-directory-urls 1.6s
=> [dependencies-dev-platform-arm64 2/2] RUN curl -Lo /tmp/node.tar.xz https://nodejs.org/dist/v17.9.0/node-v17.9.0-linux-arm64.tar.xz && mkdir -p /usr/local/lib/nodejs && tar -xf /tmp/node.tar.xz -C /usr/local/lib/nodejs && rm -rf /t 2.6s
=> [build-nautobot 2/3] COPY --from=build-docs /source/docs /source/docs 0.1s
=> [build-nautobot 3/3] RUN poetry build 6.4s
=> [dependencies-dev 1/3] RUN npm install --global markdownlint-cli@0.31.1 3.7s
=> [dependencies-dev 2/3] COPY --from=build-nautobot /source /source 0.4s
=> [dependencies-dev 3/3] COPY development/nautobot_config.py /opt/nautobot/nautobot_config.py 0.0s
=> [dev 1/1] RUN poetry install --no-ansi && rm -rf /source 2.8s
=> exporting to image 2.0s
=> => exporting layers 2.0s
=> => writing image sha256:a47a3df811425e5e1acd9547ca5eef37cd8b795592f9242dea079fb83815629e 0.0s
=> => naming to docker.io/library/nautodev:local 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
docker build --target dev -t nautodev:local --build-arg PYTHON_VER=3.7 -f 0.70s user 0.61s system 0% cpu 2:15.12 total