Browse Source

move wheels to build container

Blake Blackshear 4 years ago
parent
commit
c082fc5cb2
3 changed files with 7 additions and 5 deletions
  1. 1 3
      docker/Dockerfile.base
  2. 3 1
      docker/Dockerfile.wheels
  3. 3 1
      docker/Dockerfile.wheels.aarch64

+ 1 - 3
docker/Dockerfile.base

@@ -31,11 +31,9 @@ RUN apt-get -qq update \
     && (apt-get autoremove -y; apt-get autoclean -y)
 
 RUN pip3 install \
-    peewee \
     peewee_migrate \
     zeroconf \
-    voluptuous \
-    setproctitle
+    voluptuous
 
 COPY nginx/nginx.conf /etc/nginx/nginx.conf
 

+ 3 - 1
docker/Dockerfile.wheels

@@ -32,7 +32,9 @@ RUN pip3 wheel --wheel-dir=/wheels \
     paho-mqtt \
     PyYAML \
     matplotlib \
-    click
+    click \
+    setproctitle \
+    peewee
 
 FROM scratch
 

+ 3 - 1
docker/Dockerfile.wheels.aarch64

@@ -42,7 +42,9 @@ RUN pip3 wheel --wheel-dir=/wheels \
     paho-mqtt \
     PyYAML \
     matplotlib \
-    click
+    click \
+    setproctitle \
+    peewee
 
 FROM scratch