Dateien nach "/" hochladen
This commit is contained in:
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
FROM ubuntu:22.04
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get upgrade -y && apt-get autoremove -y && apt-get -y install xz-utils wget && rm -rf /var/lib/apt/list/*
|
||||||
|
|
||||||
|
RUN wget -O /tmp/s6-overlay-noarch.tar.xz https://github.com/just-containers/s6-overlay/releases/download/v3.2.0.0/s6-overlay-noarch.tar.xz
|
||||||
|
RUN tar -C / -Jxpf /tmp/s6-overlay-noarch.tar.xz
|
||||||
|
RUN if [ $(arch) = "i386" ] ; then wget -O /tmp/s6-overlay-i686.tar.xz https://github.com/just-containers/s6-overlay/releases/download/v3.2.0.0/s6-overlay-i686.tar.xz ; fi;
|
||||||
|
RUN if [ $(arch) = "i386" ] ; then tar -C / -Jxpf /tmp/s6-overlay-i686.tar.xz ; fi;
|
||||||
|
RUN if [ $(arch) = "x86_64" ] ; then wget -O /tmp/s6-overlay-x86_64.tar.xz https://github.com/just-containers/s6-overlay/releases/download/v3.2.0.0/s6-overlay-x86_64.tar.xz ; fi;
|
||||||
|
RUN if [ $(arch) = "x86_64" ] ; then tar -C / -Jxpf /tmp/s6-overlay-x86_64.tar.xz ; fi;
|
||||||
|
RUN if [ $(arch) = "arm64" ] ; then wget -O /tmp/s6-overlay-aarch64.tar.xz https://github.com/just-containers/s6-overlay/releases/download/v3.2.0.0/s6-overlay-aarch64.tar.xz ; fi;
|
||||||
|
RUN if [ $(arch) = "arm64" ] ; then tar -C / -Jxpf /tmp/s6-overlay-aarch64.tar.xz ; fi;
|
||||||
|
RUN if [ $(arch) = "armv7l" ] ; then wget -O /tmp/s6-overlay-arm.tar.xz https://github.com/just-containers/s6-overlay/releases/download/v3.2.0.0/s6-overlay-arm.tar.xz ; fi;
|
||||||
|
RUN if [ $(arch) = "armv7l" ] ; then tar -C / -Jxpf /tmp/s6-overlay-arm.tar.xz ; fi;
|
||||||
|
|
||||||
|
RUN mkdir /app && rm -rf /tmp/*
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
ENTRYPOINT [ "/init" ]
|
||||||
Reference in New Issue
Block a user