-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathContainerfile
More file actions
23 lines (20 loc) · 814 Bytes
/
Containerfile
File metadata and controls
23 lines (20 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM ghcr.io/ntkme/systemd-podman:edge
RUN podman pull docker.io/library/caddy:2-alpine \
&& podman pull docker.io/library/elasticsearch:8.10.4 \
&& podman pull docker.io/library/postgres:16-alpine \
&& podman pull docker.io/library/redis:6-alpine \
&& podman pull docker.io/minio/mc:latest \
&& podman pull docker.io/minio/minio:latest \
&& printf '%s\n' \
'[[registry]]' \
'prefix = "localhost"' \
'location = "localhost"' \
'insecure = true' \
| tee /etc/containers/registries.conf.d/localhost.conf \
&& podman pull localhost:5000/feedbin:edge \
&& rm /etc/containers/registries.conf.d/localhost.conf \
&& rm -rf /usr/share/containers/storage \
&& mv /var/lib/containers/storage /usr/share/containers/storage
ADD etc /etc
ADD usr /usr
VOLUME ["/data"]