Fix docker build
Alpine does not support python3 yet, but depot_tools enabled python3 by default recently. Disable python3 for now. Fixes #763. Change-Id: I57cd414702e89cafbe1b8beee810f89760129d10
This commit is contained in:
parent
8e85862bda
commit
741ae7f545
|
@ -15,6 +15,10 @@ RUN sed -i \
|
||||||
/usr/include/malloc.h
|
/usr/include/malloc.h
|
||||||
|
|
||||||
ENV GYP_DEFINES='clang=0 use_experimental_allocator_shim=0 use_allocator=none musl=1'
|
ENV GYP_DEFINES='clang=0 use_experimental_allocator_shim=0 use_allocator=none musl=1'
|
||||||
|
# Alpine does not support python3 yet, but depot_tools enabled python3
|
||||||
|
# by default. Disable python3 explicitly for now.
|
||||||
|
# See https://github.com/google/shaka-packager/issues/763 for details.
|
||||||
|
ENV GCLIENT_PY3=0
|
||||||
|
|
||||||
# Build shaka-packager
|
# Build shaka-packager
|
||||||
WORKDIR shaka_packager
|
WORKDIR shaka_packager
|
||||||
|
|
|
@ -16,6 +16,10 @@ RUN sed -i \
|
||||||
/usr/include/malloc.h
|
/usr/include/malloc.h
|
||||||
|
|
||||||
ENV GYP_DEFINES='clang=0 use_experimental_allocator_shim=0 use_allocator=none musl=1'
|
ENV GYP_DEFINES='clang=0 use_experimental_allocator_shim=0 use_allocator=none musl=1'
|
||||||
|
# Alpine does not support python3 yet, but depot_tools enabled python3
|
||||||
|
# by default. Disable python3 explicitly for now.
|
||||||
|
# See https://github.com/google/shaka-packager/issues/763 for details.
|
||||||
|
ENV GCLIENT_PY3=0
|
||||||
|
|
||||||
# Build and run this docker by mapping shaka-packager with
|
# Build and run this docker by mapping shaka-packager with
|
||||||
# -v "shaka-packager:/shaka-packager".
|
# -v "shaka-packager:/shaka-packager".
|
||||||
|
|
Loading…
Reference in New Issue