update mega
This commit is contained in:
parent
7e6868fd37
commit
494d19153a
|
@ -1,10 +1,25 @@
|
||||||
FROM debian:stable-slim
|
FROM debian:stable-slim
|
||||||
RUN dpkg --add-architecture armhf
|
RUN dpkg --add-architecture armhf
|
||||||
RUN ["/bin/apt-get", "update"]
|
RUN ["/bin/apt-get", "update"]
|
||||||
RUN apt-get -y install wget
|
# get neccessary files
|
||||||
|
RUN apt-get -y install wget golang-go fish ffmpeg
|
||||||
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 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 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
|
# golf
|
||||||
|
RUN mkdir /root/golf
|
||||||
|
COPY convert/main.go main.go
|
||||||
|
COPY convert/go.mod go.mod
|
||||||
|
RUN go build .
|
||||||
|
ENV PATH "$PATH:root/golf"
|
||||||
|
# sync
|
||||||
|
RUN mkdir /root/sync
|
||||||
|
WORKDIR /root/sync
|
||||||
|
RUN mkdir .megaCmd
|
||||||
ADD .megaCmd/* /root/.megaCmd
|
ADD .megaCmd/* /root/.megaCmd
|
||||||
|
RUN mkdir music
|
||||||
|
RUN mkdir music-opus
|
||||||
|
# root
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
COPY convert/convert.fish convert.fish
|
||||||
CMD mega-cmd-server
|
CMD mega-cmd-server
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 0f016c305c39c397a288aec51b4b71899f90fcee
|
Loading…
Reference in New Issue