Skip to content

Console Output

+ docker build -t compose:alpine --target build --build-arg BUILD_PLATFORM=alpine .
#2 [internal] load .dockerignore
#2 transferring context: 34B done
#2 DONE 0.0s

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 38B done
#1 DONE 0.0s

#3 [internal] load metadata for docker.io/library/python:3.7.4-alpine3.10
#3 DONE 0.0s

#4 [internal] load metadata for docker.io/library/docker:18.09.7
#4 DONE 0.1s

#5 [build-alpine 1/2] FROM docker.io/library/python:3.7.4-alpine3.10@sha256...
#5 DONE 0.0s

#9 [docker-cli 1/1] FROM docker.io/library/docker:18.09.7@sha256:310156c950...
#9 DONE 0.0s

#7 [internal] load build context
#7 transferring context: 23.29kB 0.0s done
#7 DONE 0.0s

#12 [build 4/15] RUN pip install virtualenv==16.2.0
#12 CACHED

#15 [build 7/15] COPY requirements-dev.txt .
#15 CACHED

#16 [build 8/15] COPY .pre-commit-config.yaml .
#16 CACHED

#13 [build 5/15] RUN pip install tox==2.9.1
#13 CACHED

#19 [build 11/15] COPY README.md .
#19 CACHED

#8 [build 1/15] COPY docker-compose-entrypoint.sh /usr/local/bin/
#8 CACHED

#11 [build 3/15] WORKDIR /code/
#11 CACHED

#6 [build-alpine 2/2] RUN apk add --no-cache     bash     build-base     ca...
#6 CACHED

#14 [build 6/15] COPY requirements.txt .
#14 CACHED

#20 [build 12/15] COPY compose compose/
#20 CACHED

#10 [build 2/15] COPY --from=docker-cli /usr/local/bin/docker /usr/local/bin...
#10 CACHED

#17 [build 9/15] COPY tox.ini .
#17 CACHED

#18 [build 10/15] COPY setup.py .
#18 CACHED

#21 [build 13/15] RUN tox --notest
#21 CACHED

#22 [build 14/15] COPY . .
#22 DONE 0.1s

#23 [build 15/15] RUN script/build/linux-entrypoint
#23 0.612 + CODE_PATH=/code
#23 0.613 + VENV=/code/.tox/py37
#23 0.613 + cd /code
#23 0.614 + mkdir -p dist
#23 0.615 + chmod 777 dist
#23 0.616 + /code/.tox/py37/bin/pip3 install -q -r requirements-build.txt
#23 18.76 + '[' -z unknown ']'
#23 18.76 + echo unknown
#23 18.76 + export PATH=/code/pyinstaller:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#23 18.76 + PATH=/code/pyinstaller:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#23 18.76 + '[' '!' -z 1 ']'
#23 18.76 + git clone --single-branch --branch develop https://github.com/pyinstaller/pyinstaller.git /tmp/pyinstaller
#23 18.76 Cloning into '/tmp/pyinstaller'...
#23 22.43 + cd /tmp/pyinstaller/bootloader
#23 22.43 + git checkout v3.5
#23 22.52 Note: checking out 'v3.5'.
#23 22.52 
#23 22.52 You are in 'detached HEAD' state. You can look around, make experimental
#23 22.52 changes and commit them, and you can discard any commits you make in this
#23 22.52 state without impacting any branches by performing another checkout.
#23 22.52 
#23 22.52 If you want to create a new branch to retain commits you create, you may
#23 22.52 do so (now or later) by using -b with the checkout command again. Example:
#23 22.52 
#23 22.52   git checkout -b <new-branch-name>
#23 22.52 
#23 22.52 HEAD is now at 498e6ee0 Release 3.5.
#23 22.53 + /code/.tox/py37/bin/python3 ./waf configure --no-lsb all
#23 22.72 Setting top to                           : /tmp/pyinstaller/bootloader 
#23 22.72 Setting out to                           : /tmp/pyinstaller/bootloader/build 
#23 22.72 Python Version                           : 3.7.4 (default, Aug 21 2019, 00:19:59) [GCC 8.3.0] 
#23 22.72 Checking for 'gcc' (C compiler)          : /usr/bin/gcc 
#23 22.79 Checking size of pointer                 : 8 
#23 22.83 Platform                                 : Linux-64bit detected based on compiler 
#23 22.83 Checking for flags -m64                  : yes 
#23 22.86 Checking for program '/usr/bin/strip'    : /usr/bin/strip 
#23 22.86 Checking for program 'strip'             : /usr/bin/strip 
#23 22.86 Checking for library dl                  : yes 
#23 22.89 Checking for library m                   : yes 
#23 22.92 Checking for library z                   : yes 
#23 22.96 Checking for function unsetenv           : yes 
#23 22.99 Checking for function mkdtemp            : yes 
#23 23.02 Checking for flags -Wl,--as-needed       : yes 
#23 23.05 'configure' finished successfully (0.334s)
#23 23.05 'all' finished successfully (0.000s)
#23 23.06 'distclean' finished successfully (0.001s)
#23 23.06 Setting top to                           : /tmp/pyinstaller/bootloader 
#23 23.06 Setting out to                           : /tmp/pyinstaller/bootloader/build 
#23 23.06 Python Version                           : 3.7.4 (default, Aug 21 2019, 00:19:59) [GCC 8.3.0] 
#23 23.06 Checking for 'gcc' (C compiler)          : /usr/bin/gcc 
#23 23.10 Checking size of pointer                 : 8 
#23 23.14 Platform                                 : Linux-64bit detected based on compiler 
#23 23.14 Checking for flags -m64                  : yes 
#23 23.17 Checking for program '/usr/bin/strip'    : /usr/bin/strip 
#23 23.17 Checking for program 'strip'             : /usr/bin/strip 
#23 23.17 Checking for library dl                  : yes 
#23 23.20 Checking for library m                   : yes 
#23 23.24 Checking for library z                   : yes 
#23 23.27 Checking for function unsetenv           : yes 
#23 23.30 Checking for function mkdtemp            : yes 
#23 23.34 Checking for flags -Wl,--as-needed       : yes 
#23 23.37 'configure' finished successfully (0.310s)
#23 23.37 'make_all' finished successfully (0.003s)
#23 23.37 Waf: Entering directory `/tmp/pyinstaller/bootloader/build/debug'
#23 23.38 [ 1/13] Compiling src/pyi_python.c
#23 23.38 [ 2/13] Compiling src/pyi_global.c
#23 23.46 [ 3/13] Compiling src/main.c
#23 23.49 [ 4/13] Compiling src/pyi_archive.c
#23 23.51 [ 5/13] Compiling src/pyi_launch.c
#23 23.67 [ 6/13] Compiling src/pyi_win32_utils.c
#23 23.70 [ 7/13] Compiling src/pyi_main.c
#23 23.71 [ 8/13] Compiling src/pyi_pythonlib.c
#23 23.80 [ 9/13] Compiling src/pyi_python27_compat.c
#23 23.85 [10/13] Compiling src/pyi_utils.c
#23 23.91 [11/13] Compiling src/pyi_path.c
#23 24.08 [12/13] Linking build/debug/run_d
#23 24.09 [13/13] Processing build/debug/run_d
#23 24.09 Waf: Leaving directory `/tmp/pyinstaller/bootloader/build/debug'
#23 24.09 'build_debug' finished successfully (0.724s)
#23 24.10 Waf: Entering directory `/tmp/pyinstaller/bootloader/build/release'
#23 24.10 [ 1/13] Compiling src/pyi_python.c
#23 24.11 [ 2/13] Compiling src/pyi_global.c
#23 24.19 [ 3/13] Compiling src/main.c
#23 24.22 [ 4/13] Compiling src/pyi_utils.c
#23 24.24 [ 5/13] Compiling src/pyi_python27_compat.c
#23 24.29 [ 6/13] Compiling src/pyi_win32_utils.c
#23 24.31 [ 7/13] Compiling src/pyi_main.c
#23 24.38 [ 8/13] Compiling src/pyi_pythonlib.c
#23 24.43 [ 9/13] Compiling src/pyi_path.c
#23 24.55 [10/13] Compiling src/pyi_archive.c
#23 24.55 [11/13] Compiling src/pyi_launch.c
#23 24.74 [12/13] Linking build/release/run
#23 24.75 [13/13] Processing build/release/run
#23 24.75 Waf: Leaving directory `/tmp/pyinstaller/bootloader/build/release'
#23 24.75 'build_release' finished successfully (0.659s)
#23 24.76 Waf: Entering directory `/tmp/pyinstaller/bootloader/build/debug'
#23 24.76 [13/14] Processing build/debug/run_d
#23 24.77 + install /tmp/pyinstaller/PyInstaller/bootloader/Linux-64bit/run_d (from build/debug/run_d)
#23 24.77 Waf: Leaving directory `/tmp/pyinstaller/bootloader/build/debug'
#23 24.77 'install_debug' finished successfully (0.014s)
#23 24.77 Waf: Entering directory `/tmp/pyinstaller/bootloader/build/release'
#23 24.78 [14/14] Processing build/release/run
#23 24.78 + install /tmp/pyinstaller/PyInstaller/bootloader/Linux-64bit/run (from build/release/run)
#23 24.78 Waf: Leaving directory `/tmp/pyinstaller/bootloader/build/release'
#23 24.78 'install_release' finished successfully (0.012s)
#23 24.79 + /code/.tox/py37/bin/pip3 install ..
#23 25.05 Processing /tmp/pyinstaller
#23 25.28   Installing build dependencies: started
#23 30.47   Installing build dependencies: finished with status 'done'
#23 30.47   Getting requirements to build wheel: started
#23 30.80   Getting requirements to build wheel: finished with status 'done'
#23 30.80     Preparing wheel metadata: started
#23 31.06     Preparing wheel metadata: finished with status 'done'
#23 31.07 Requirement already satisfied: setuptools in /code/.tox/py37/lib/python3.7/site-packages (from PyInstaller==3.5) (42.0.2)
#23 31.08 Requirement already satisfied: altgraph in /code/.tox/py37/lib/python3.7/site-packages (from PyInstaller==3.5) (0.16.1)
#23 31.08 Building wheels for collected packages: PyInstaller
#23 31.08   Building wheel for PyInstaller (PEP 517): started
#23 31.90   Building wheel for PyInstaller (PEP 517): finished with status 'done'
#23 31.91   Created wheel for PyInstaller: filename=PyInstaller-3.5-cp37-none-any.whl size=2879088 sha256=a157623c64b6100fca78ba0fcd39ac7774ea81c8b3941d9966e46379da89bb66
#23 31.91   Stored in directory: /tmp/pip-ephem-wheel-cache-4_6z4f0j/wheels/87/26/52/6e71dbb2b6d73f545e70263c3d348435a974f03b1e9c578887
#23 32.05 Successfully built PyInstaller
#23 32.18 Installing collected packages: PyInstaller
#23 32.18   Found existing installation: PyInstaller 3.5
#23 32.35     Uninstalling PyInstaller-3.5:
#23 32.36       Successfully uninstalled PyInstaller-3.5
#23 32.70 Successfully installed PyInstaller-3.5
#23 32.77 + cd /code
#23 32.77 + rm -Rf /tmp/pyinstaller
#23 32.81 + /code/.tox/py37/bin/pyinstaller --exclude-module pycrypto --exclude-module PyInstaller docker-compose.spec
#23 32.95 36 INFO: PyInstaller: 3.5
#23 32.95 36 INFO: Python: 3.7.4
#23 32.96 39 INFO: Platform: Linux-4.15.0-1048-aws-x86_64-with
#23 32.96 41 INFO: UPX is not available.
#23 32.96 42 INFO: Extending PYTHONPATH with paths
#23 32.96 ['/code/bin', '/code']
#23 32.96 42 INFO: checking Analysis
#23 32.96 42 INFO: Building Analysis because Analysis-00.toc is non existent
#23 32.96 42 INFO: Initializing module dependency graph...
#23 32.96 44 INFO: Initializing module graph hooks...
#23 32.96 45 INFO: Analyzing base_library.zip ...
#23 35.42 2504 INFO: running Analysis Analysis-00.toc
#23 35.43 2515 INFO: Caching module hooks...
#23 35.44 2519 INFO: Analyzing bin/docker-compose
#23 35.52 2600 INFO: Processing pre-find module path hook   distutils
#23 35.52 2600 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.7/distutils'
#23 35.69 2771 INFO: Processing pre-safe import module hook   urllib3.packages.six.moves
#23 36.56 3638 INFO: Processing pre-safe import module hook   six.moves
#23 38.90 5985 INFO: Loading module hooks...
#23 38.90 5986 INFO: Loading module hook "hook-certifi.py"...
#23 38.90 5987 INFO: Loading module hook "hook-jsonschema.py"...
#23 38.91 5988 INFO: Loading module hook "hook-xml.py"...
#23 38.94 6027 INFO: Loading module hook "hook-nacl.py"...
#23 38.95 6028 INFO: Loading module hook "hook-distutils.py"...
#23 38.95 6030 INFO: Loading module hook "hook-pkg_resources.py"...
#23 39.08 6165 INFO: Processing pre-safe import module hook   win32com
#23 39.28 6366 INFO: Loading module hook "hook-pydoc.py"...
#23 39.28 6366 INFO: Loading module hook "hook-sysconfig.py"...
#23 39.29 6373 INFO: Loading module hook "hook-encodings.py"...
#23 39.33 6412 INFO: Loading module hook "hook-cryptography.py"...
#23 39.48 6567 INFO: Looking for ctypes DLLs
#23 39.51 Illegal option -p
#23 39.51 6596 INFO: Analyzing run-time hooks ...
#23 39.52 6604 INFO: Including run-time hook 'pyi_rth_certifi.py'
#23 39.52 6605 INFO: Including run-time hook 'pyi_rth_pkgres.py'
#23 39.53 6614 INFO: Looking for dynamic libraries
#23 39.75 6830 INFO: Looking for eggs
#23 39.75 6830 INFO: Using Python library /usr/local/lib/libpython3.7m.so.1.0
#23 39.76 6840 INFO: Warnings written to /code/build/docker-compose/warn-docker-compose.txt
#23 39.81 6892 INFO: Graph cross-reference written to /code/build/docker-compose/xref-docker-compose.html
#23 39.83 6914 INFO: checking PYZ
#23 39.83 6914 INFO: Building PYZ because PYZ-00.toc is non existent
#23 39.83 6914 INFO: Building PYZ (ZlibArchive) /code/build/docker-compose/PYZ-00.pyz
#23 40.56 7642 INFO: Building PYZ (ZlibArchive) /code/build/docker-compose/PYZ-00.pyz completed successfully.
#23 40.57 7653 INFO: checking PKG
#23 40.57 7653 INFO: Building PKG because PKG-00.toc is non existent
#23 40.57 7653 INFO: Building PKG (CArchive) PKG-00.pkg
#23 51.65 18729 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
#23 51.65 18732 INFO: Bootloader /code/.tox/py37/lib/python3.7/site-packages/PyInstaller/bootloader/Linux-64bit/run
#23 51.65 18732 INFO: checking EXE
#23 51.65 18732 INFO: Building EXE because EXE-00.toc is non existent
#23 51.65 18733 INFO: Building EXE from EXE-00.toc
#23 51.65 18733 INFO: Appending archive to ELF section in EXE /code/dist/docker-compose
#23 51.71 18792 INFO: Building EXE from EXE-00.toc completed successfully.
#23 51.77 + ls -la dist/
#23 51.78 total 17120
#23 51.78 drwxrwxrwx    2 root     root          4096 Dec  2 21:11 .
#23 51.78 drwxr-xr-x    1 root     root          4096 Dec  2 21:11 ..
#23 51.78 -rwxr-xr-x    1 root     root      17517888 Dec  2 21:11 docker-compose
#23 51.78 + ldd dist/docker-compose
#23 51.78 	/lib/ld-musl-x86_64.so.1 (0x7f377dc90000)
#23 51.78 	libz.so.1 => /lib/libz.so.1 (0x7f377dc5a000)
#23 51.78 	libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x7f377dc90000)
#23 51.78 + mv dist/docker-compose /usr/local/bin
#23 51.78 + docker-compose version
#23 52.30 docker-compose version 1.26.0dev, build unknown
#23 52.30 docker-py version: 4.1.0
#23 52.30 CPython version: 3.7.4
#23 52.30 OpenSSL version: OpenSSL 1.1.1d  10 Sep 2019
#23 DONE 52.6s

#24 exporting to image
#24 exporting layers
#24 exporting layers 0.4s done
#24 writing image sha256:b973ad58420d896857ef66847933ba058e31dcf42e2cfc79e19cf98cf30c0090 done
#24 naming to docker.io/library/compose:alpine done
#24 DONE 0.5s