ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=22.04 |
ADD file:ebe009f86035c175ba244badd298a2582914415cf62783d510eab3a311a5d4e1 in / |
CMD ["/bin/bash"] |
ENV DEBIAN_FRONTEND=noninteractive |
RUN /bin/sh -c apt-get update && apt-get install -y curl wget bash git unzip python3 python3-pip vsftpd && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit |
WORKDIR /app |
ADD https://raw.githubusercontent.com/Nihlus/Launchpad/master/Scripts/launchpad-server-setup.sh /app/launchpad-server-setup.sh # buildkit |
RUN /bin/sh -c chmod +x /app/launchpad-server-setup.sh # buildkit |
RUN /bin/sh -c echo "anonymous_enable=YES" >> /etc/vsftpd.conf && echo "write_enable=YES" >> /etc/vsftpd.conf && echo "local_umask=022" >> /etc/vsftpd.conf && echo "anon_upload_enable=NO" >> /etc/vsftpd.conf # buildkit |
EXPOSE map[21/tcp:{} 8080/tcp:{}] |
RUN /bin/sh -c ./launchpad-server-setup.sh # buildkit |
CMD ["/bin/sh" "-c" "vsftpd /etc/vsftpd.conf & python3 -m http.server 8080"] |