Update Dockerfile

Unable to build compiler for rust - Will work on this at a later date
This commit is contained in:
M0VUB 2024-05-23 23:01:52 +01:00 committed by GitHub
parent 74ad5078c8
commit c1a4431488
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,15 +23,14 @@ COPY entrypoint /entrypoint
RUN adduser -D -u 54000 radio && \
apk update && \
apk add git gcc musl-dev curl && \
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh && \
apk add git gcc musl-dev && \
pip install --upgrade pip && \
pip cache purge && \
cd /opt && \
git clone https://github.com/shaymez/HBMonv2.git /hbmon && \
cd /hbmon && \
pip install --no-cache-dir -r requirements.txt && \
apk del git gcc musl-dev curl && \
apk del git gcc musl-dev && \
chown -R radio: /hbmon
USER radio