mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-22 09:26:16 +00:00
rm apt lists
This commit is contained in:
+2
-1
@@ -2,7 +2,8 @@ FROM python:3-slim
|
||||
ARG TARGETPLATFORM
|
||||
COPY . /psa_car_controller/
|
||||
WORKDIR /config
|
||||
RUN if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then apt-get update && apt-get install -y gcc && apt-get clean ; fi ; \
|
||||
RUN if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then apt-get update && apt-get install -y gcc && apt-get clean ; \
|
||||
rm -rf /var/lib/apt/lists/* ; fi ; \
|
||||
pip3 install --no-cache-dir -r /psa_car_controller/requirements.txt ; \
|
||||
apt-get remove -y gcc 2> /dev/null ; \
|
||||
apt-get autoremove -y
|
||||
|
||||
Reference in New Issue
Block a user