mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-03 22:21:39 +00:00
feat(apps): mediawiki dockerfile
This commit is contained in:
3 files changed
+32
No files matched your search
@@ -0,0 +1,18 @@
|
||||
FROM --platform=$TARGETOS/$TARGETARCH mediawiki:1.42.4
|
||||
|
||||
LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks"
|
||||
LABEL author="darksaid98" maintainer="[email protected]"
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
RUN apt -y update && \
|
||||
apt -y upgrade && \
|
||||
apt -y install iproute2 && \
|
||||
useradd -d /home/container -m container -s /bin/bash
|
||||
|
||||
USER container
|
||||
ENV USER=container HOME=/home/container
|
||||
WORKDIR /home/container
|
||||
|
||||
COPY ./entrypoint.sh /entrypoint.sh
|
||||
CMD ["/bin/bash", "/entrypoint.sh"]
|
||||
Reference in new issue
Block a user