Skip to content
Merged
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
5 changes: 3 additions & 2 deletions web-build/Dockerfile.python2
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#ddev-generated
COPY --from=python:2.7-slim /usr/local /usr/local
COPY --from=python:2.7-slim /usr/local /tmp/python2-local
COPY --from=python:2.7-slim /usr/lib /tmp/python2-libs
ARG TARGETARCH
RUN <<EOF
set -eu -o pipefail
chmod -f ugo+rwx /usr/local/bin
tar -C /tmp/python2-local -cf - . | tar -C /usr/local -xf - --no-overwrite-dir
rm -rf /tmp/python2-local
if [ "$TARGETARCH" = "amd64" ]; then
LIB_ARCH="x86_64-linux-gnu"
elif [ "$TARGETARCH" = "arm64" ]; then
Expand Down