server-config/docker-files/mega/Dockerfile

11 lines
515 B
Docker

FROM debian:stable-slim
RUN dpkg --add-architecture armhf
RUN ["/bin/apt-get", "update"]
RUN apt-get -y install wget
RUN wget http://http.us.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1w-0+deb11u1_armhf.deb && apt-get -y install "$PWD/libssl1.1_1.1.1w-0+deb11u1_armhf.deb"
RUN wget https://mega.nz/linux/repo/Raspbian_11/armhf/megacmd-Raspbian_11_armhf.deb && apt-get -y install "$PWD/megacmd-Raspbian_11_armhf.deb"
RUN mkdir /root/.megaCmd
ADD .megaCmd/* /root/.megaCmd
WORKDIR /root
CMD mega-cmd-server