ci: build multi platform images

- ci: build containers on releases only
- setup: install all compilers for arch
- ci: saves cache to s3 and defaults to gh public cache
- docker: try to catch apt registry installs
- ci: use qemu for arm64 images
This commit is contained in:
Ramon Roche
2025-03-04 10:52:47 -08:00
parent d1e4198864
commit f29a773abc
7 changed files with 154 additions and 95 deletions
+8
View File
@@ -13,6 +13,14 @@ ENV TZ=UTC
EXPOSE 14556/udp
EXPOSE 14557/udp
# Set Up Caching of APT packages
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
rm -f /etc/apt/apt.conf.d/docker-clean && \
echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' >/etc/apt/apt.conf.d/keep-cache && \
apt-get --quiet -y update
# Install Shell Script Entrypoint
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
# Install PX4 Requirements