Skip to content

Commit

Permalink
DP-8235 include px_upload script to image container
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoSairiala committed Jan 30, 2024
1 parent 808bc2d commit 997ff6f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tools/px_uploader.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ARG saluki_v3_fpga_version
FROM ghcr.io/tiiuae/saluki-pi-fpga:$saluki_pi_fpga_version AS SALUKI_PI
FROM ghcr.io/tiiuae/saluki-pi-fpga:$saluki_v2_fpga_version AS SALUKI_V2
FROM ghcr.io/tiiuae/saluki-pi-fpga:$saluki_v3_fpga_version AS SALUKI_V3
FROM ghcr.io/tiiuae/saluki_bootloader_v2:master AS SALUKI_BOOTLOADER_v2

FROM python:alpine3.14

Expand All @@ -25,9 +26,12 @@ FROM python:alpine3.14
# ("/" above is relative to GH action runner home dir)
# (see .github/workflows/tiiuae-pixhawk.yaml)

# copy fpga files from separate saluki containers
COPY --from=SALUKI_PI /firmware/saluki_pi-fpga /firmware/fpga/saluki_pi
COPY --from=SALUKI_V2 /firmware/saluki_v2-fpga /firmware/fpga/saluki_v2
COPY --from=SALUKI_V3 /firmware/saluki_v3-fpga /firmware/fpga/saluki_v3
# copy px_uploader.py from saluki_bootloader_v2 container
COPY --from=SALUKI_BOOTLOADER_v2 /firmware/bootloader_v2/px_uploader.py /firmware/px_uploader.py

WORKDIR /firmware

Expand Down

0 comments on commit 997ff6f

Please sign in to comment.