Skip to content

Commit

Permalink
test bookworm build
Browse files Browse the repository at this point in the history
  • Loading branch information
shankerwangmiao committed May 1, 2023
1 parent 189df79 commit 86667c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
13 changes: 1 addition & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:buster
FROM debian:bookworm
MAINTAINER Justin Wong <yuzhi.wang@tuna.tsinghua.edu.cn>

RUN apt-get update && \
Expand Down Expand Up @@ -26,14 +26,3 @@ ENV LC_ALL=en_US.UTF-8

ENV HOME=/tmp
CMD /bin/bash

RUN lftpver="$(dpkg-query --showformat='${Version}' --show lftp)" && \
if dpkg --compare-versions "$lftpver" lt "4.8.4-2+~shankeru1"; then \
if [ "$(uname -m)" = "x86_64" ]; then \
curl -fsSL 'https://salsa.debian.org/shankerwangmiao/lftp/uploads/44e6d15941d3663de8adfbf293edd343/lftp_4.8.4-2+_shankeru1_amd64.deb'; \
elif [ "$(uname -m)" = "aarch64" ]; then \
curl -fsSL 'https://salsa.debian.org/shankerwangmiao/lftp/uploads/ce34a68750902ded261c3b61064b4d6b/lftp_4.8.4-2+_shankeru1_arm64.deb'; \
fi > /tmp/lftp.deb && \
apt-get install -y /tmp/lftp.deb && \
rm -f /tmp/lftp.deb; \
fi
2 changes: 1 addition & 1 deletion dockerfiles/ftpsync/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:stretch
FROM debian:bookworm
MAINTAINER Justin Wong <yuzhi.wang@tuna.tsinghua.edu.cn>

RUN apt-get update && \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/rustup-mirror/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:buster
FROM rust:bookworm
MAINTAINER Jiajie Chen <jiegec@noc.ac.cn>

RUN cargo install rustup-mirror
Expand Down

0 comments on commit 86667c8

Please sign in to comment.