瀏覽代碼

Add dependencies for ARM build

Signed-off-by: Stefan Scherer <[email protected]>
Stefan Scherer 6 年之前
父節點
當前提交
79f29dda23
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      Dockerfile

+ 5 - 2
Dockerfile

@@ -30,15 +30,18 @@ RUN apk add --no-cache \
 ENV BUILD_BOOTLOADER=1
 ENV BUILD_BOOTLOADER=1
 
 
 FROM python:${PYTHON_VERSION}-${BUILD_DEBIAN_VERSION} AS build-debian
 FROM python:${PYTHON_VERSION}-${BUILD_DEBIAN_VERSION} AS build-debian
-RUN apt-get update && apt-get install -y \
+RUN apt-get update && apt-get install --no-install-recommends -y \
     curl \
     curl \
     gcc \
     gcc \
     git \
     git \
     libc-dev \
     libc-dev \
+    libffi-dev \
     libgcc-6-dev \
     libgcc-6-dev \
+    libssl-dev \
     make \
     make \
     openssl \
     openssl \
-    python2.7-dev
+    python2.7-dev \
+    zlib1g-dev
 
 
 FROM build-${BUILD_PLATFORM} AS build
 FROM build-${BUILD_PLATFORM} AS build
 COPY docker-compose-entrypoint.sh /usr/local/bin/
 COPY docker-compose-entrypoint.sh /usr/local/bin/