Skip to content

Commit

Permalink
Merge pull request #559 from MyElectricalData/feat/build-args
Browse files Browse the repository at this point in the history
Fix rust uninstall
  • Loading branch information
m4dm4rtig4n authored Jul 29, 2024
2 parents 8b2606c + 2270051 commit 9f0e44d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ COPY ./src /app
RUN pip install -r /app/requirements.txt

# REMOVE RUST
RUN /usr/local/lib/rustlib/uninstall.sh
RUN if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \
/usr/local/lib/rustlib/uninstall.sh; \
fi

RUN mkdir /data
RUN mkdir /log
Expand Down

0 comments on commit 9f0e44d

Please sign in to comment.