Skip to content

Commit

Permalink
docker => debian:bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
SaeedDev94 committed Feb 26, 2024
1 parent 3cb8be8 commit 5799c17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:bullseye
FROM debian:bookworm

ENV LANG=C.UTF-8 \
DEBIAN_FRONTEND=noninteractive
Expand Down
4 changes: 2 additions & 2 deletions build-xray.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Update repo
apt-get update
apt-get install -y ca-certificates
echo "deb https://deb.debian.org/debian bullseye-backports main" > /etc/apt/sources.list.d/backports.list
echo "deb https://deb.debian.org/debian bookworm-backports main" > /etc/apt/sources.list.d/backports.list
apt-get update || apt-get update
apt-get dist-upgrade -y

Expand All @@ -17,7 +17,7 @@ GO_VERSION="go1.22.0"
GO_MOBILE_VERSION="v0.0.0-20240213143359-d1f7d3436075"

# Install Tools
apt-get install -t bullseye-backports -y golang-go
apt-get install -t bookworm-backports -y golang-go
apt-get install -y git openjdk-$JAVA_VERSION-jdk-headless sdkmanager wget unzip gcc libc-dev
sdkmanager "platform-tools" "platforms;$ANDROID_PLATFORM_VERSION" "build-tools;$ANDROID_SDK_VERSION"
sdkmanager --install "ndk;$ANDROID_NDK_VERSION" --channel=3
Expand Down

0 comments on commit 5799c17

Please sign in to comment.