Skip to content

Commit

Permalink
use alpine baseimage instead of python:alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoSairiala committed May 29, 2024
1 parent 31e6ff7 commit ab18f96
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Tools/px_uploader.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:alpine3.14
FROM alpine:3.20

ARG saluki_fpga_directory
ARG SALUKI_FILE_INFO_JSON=saluki_file_info.json
Expand All @@ -14,10 +14,6 @@ ENTRYPOINT ["/entrypoint.sh"]
# tools needed to extract binaries from px4 files
RUN apk add pigz jq

# dependency of px_uploader.py
RUN pip3 install --user pyserial

ADD px4-firmware/Tools/px_uploader.py /bin/
ADD px4-firmware/Tools/px_uploader.entrypoint /entrypoint.sh

# copy /bin/* -> /firmware/*
Expand Down

0 comments on commit ab18f96

Please sign in to comment.