Skip to content
GitLab
Explore
Sign in
Platforms
h3cs
Tunasync
Compare revisions
8dfad8e5baf9db4b82a422336da1d64e601c7a5c to cc7f97f9ce6d3c963fd73a5b3533088bea851db5
Commits on Source (2)
move debian riscv from host to container
· 5b53bb86
殷佳毅
authored
Aug 31, 2022
5b53bb86
Merge branch 'move' into 'master'
· cc7f97f9
殷佳毅
authored
Aug 31, 2022
move debian riscv from host to container See merge request
!8
cc7f97f9
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
cc7f97f9
FROM
ubuntu:20.04
FROM
debian:11
RUN
apt update
&&
apt
install
rsync git curl wget vim net-tools iputils-ping
-y
...
...
@@ -13,7 +13,7 @@ RUN apt update \
&&
rm
-rf
/var/lib/apt/lists/
*
RUN if
[
"
$(
uname
-m
)
"
!=
"x86_64"
-a
"
$(
uname
-m
)
"
!=
"i386"
]
;
then
\
apt update
&&
apt
install
-y
libxml2-dev libxslt1-dev zlib1g-dev
&&
rm
-rf
/var/lib/apt/lists/
*
;
\
apt update
&&
apt
install
-y
git rsync awscli stunnel4 socat
libxml2-dev libxslt1-dev zlib1g-dev
&&
rm
-rf
/var/lib/apt/lists/
*
;
\
fi
RUN
pip3
install
pyquery requests
minio
==
5.0.10
...
...
@@ -25,6 +25,10 @@ RUN mkdir -p /tmp/nix.unpack && \
ln
-s
/nix/store/
*
-nix-
*
/bin/
*
/usr/local/bin
&&
\
rm
-rf
/tmp/nix.unpack
RUN
git clone https://ftp-master.debian.org/git/archvsync.git/ /ftpsync/
ENV
PATH /ftpsync/bin:${PATH}
COPY
build-linux-amd64/* /usr/bin/
COPY
external/*/* /usr/bin/
RUN
chmod
+x /usr/bin/
*