mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
Tools: Docker: Add dummy file for COPY command
Allows the main target of teh COPY command to fail if the file doesn't
exist ('COPY' requires at least one valid file to copy).
This commit is contained in:
parent
ba9b23c2d1
commit
c83e1eb175
@ -27,7 +27,8 @@ COPY Tools/setup/ubuntu.sh /tmp/ubuntu.sh
|
||||
# We support pre-downloading the gcc arm none eabi compiler
|
||||
# to speed up build times, if the file is not present when
|
||||
# building, the ubuntu.sh script will download it from source
|
||||
COPY gcc-arm-none-eabi-9-2020-q2-update-linux.tar.* /tmp/
|
||||
# To make this conditional, copy an extra 'dummy' file as well
|
||||
COPY Tools/setup/dummy.file gcc-arm-none-eabi-9-2020-q2-update-linux.tar.* /tmp/
|
||||
# The PATH env is set within ubuntu.sh, but given how we
|
||||
# are running the image using `gosu` to avoid read-only problems
|
||||
# with the filesystem the env variable does not persist
|
||||
|
||||
0
Tools/setup/dummy.file
Normal file
0
Tools/setup/dummy.file
Normal file
Loading…
x
Reference in New Issue
Block a user