From 38bea746b337dbcb1d385a4955f9f9a7571dfdbc Mon Sep 17 00:00:00 2001 From: Hans Karlinius Date: Sat, 23 Nov 2024 23:47:18 +0100 Subject: [PATCH] update --- vhclient/Dockerfile | 18 +++--------------- vhclient/config.yaml | 2 +- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/vhclient/Dockerfile b/vhclient/Dockerfile index 9547cb6..449d7ae 100644 --- a/vhclient/Dockerfile +++ b/vhclient/Dockerfile @@ -11,22 +11,10 @@ COPY requirements.txt /tmp/ # Setup base # hadolint ignore=DL3042 RUN \ - apk add --no-cache --virtual .build-dependencies \ - py3-pip=24.0-r2 \ + apk add --no-cache \ + py3-pip-pyc \ \ - && apk add --no-cache \ - python3=3.12.7-r0 \ - \ - && pip3 install -r /tmp/requirements.txt \ - \ - && find /usr/local \ - \( -type d -a -name test -o -name tests -o -name '__pycache__' \) \ - -o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \ - -exec rm -rf '{}' + \ - \ - && apk del --no-cache --purge .build-dependencies \ - && rm -f -r \ - /tmp/* + && pip3 install -r /tmp/requirements.txt # Copy root filesystem COPY rootfs / diff --git a/vhclient/config.yaml b/vhclient/config.yaml index 2833e42..0a96cc0 100644 --- a/vhclient/config.yaml +++ b/vhclient/config.yaml @@ -1,5 +1,5 @@ name: VirtualHere Client -version: "0.1.20" +version: "0.1.21" slug: vhclient description: VirtualHere Client arch: