mirror of
https://github.com/OliveTin/OliveTin
synced 2025-10-30 12:57:06 +00:00
* feature: Helper scripts for ssh, themes, etc * cicd: Update goreleaser to support v2 .goreleaser.yml files
28 lines
714 B
Docker
28 lines
714 B
Docker
FROM --platform=linux/armhfp registry.fedoraproject.org/fedora-minimal:36-armhfp
|
|
|
|
LABEL org.opencontainers.image.source https://github.com/OliveTin/OliveTin
|
|
LABEL org.opencontainers.image.title=OliveTin
|
|
|
|
RUN mkdir -p /config /config/entities /var/www/olivetin \
|
|
&& \
|
|
microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
|
|
iputils \
|
|
shadow-utils \
|
|
openssh-clients
|
|
|
|
RUN useradd --system --create-home olivetin -u 1000
|
|
|
|
EXPOSE 1337/tcp
|
|
|
|
COPY config.yaml /config
|
|
COPY var/entities/* /config/entities/
|
|
VOLUME /config
|
|
|
|
COPY OliveTin /usr/bin/OliveTin
|
|
COPY webui /var/www/olivetin/
|
|
COPY var/helper-actions/* /usr/bin/
|
|
|
|
USER olivetin
|
|
|
|
ENTRYPOINT [ "/usr/bin/OliveTin" ]
|