-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (28 loc) · 815 Bytes
/
Dockerfile
File metadata and controls
32 lines (28 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM debian:stable
LABEL org.opencontainers.image.title="repoadm" \
org.opencontainers.image.vendor="OpenSVC" \
org.opencontainers.image.description="deb/apt repo management tool" \
org.opencontainers.image.version="1.0.0" \
org.opencontainers.image.authors="contact@opensvc.com" \
org.opencontainers.image.source="https://github.com/opensvc/container_repoadm" \
org.opencontainers.image.created="2025-08-29"
RUN apt update && \
DEBIAN_FRONTEND=noninteractive apt install -qy --no-install-recommends \
bash \
bzip2 \
createrepo-c \
curl \
gnupg \
openssh-server \
reprepro \
rpm \
strace \
unar \
unzip \
vim-tiny \
xz-utils
ADD sshd_config /sshd_config
ADD repodata.motd /etc/repodata.motd
ADD run.sh /run.sh
RUN chmod +x /run.sh
CMD ["/run.sh"]