| 1 |
# |
| 2 |
# Docker file for Laniakea CI |
| 3 |
# |
| 4 |
FROM debian:trixie |
| 5 |
|
| 6 |
# prepare |
| 7 |
RUN mkdir -p /build/ci/ |
| 8 |
|
| 9 |
# install build dependencies |
| 10 |
COPY install-native-deps.sh /build/ci/ |
| 11 |
RUN chmod +x /build/ci/install-native-deps.sh && /build/ci/install-native-deps.sh |
| 12 |
|
| 13 |
# Podman within podman config |
| 14 |
COPY containers.conf /etc/containers/ |
| 15 |
RUN chmod 644 /etc/containers/containers.conf |
| 16 |
ENV _CONTAINERS_USERNS_CONFIGURED="" |
| 17 |
|
| 18 |
COPY storage.conf /etc/containers/ |
| 19 |
RUN chmod 644 /etc/containers/storage.conf |
| 20 |
|
| 21 |
VOLUME /var/lib/containers |
| 22 |
RUN mkdir -p /var/lib/shared/overlay-images /var/lib/shared/overlay-layers /var/lib/shared/vfs-images /var/lib/shared/vfs-layers; touch /var/lib/shared/overlay-images/images.lock; touch /var/lib/shared/overlay-layers/layers.lock; touch /var/lib/shared/vfs-images/images.lock; touch /var/lib/shared/vfs-layers/layers.lock |
| 23 |
|
| 24 |
# finish |
| 25 |
WORKDIR /build |