Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
ssrlive committed Jan 20, 2024
1 parent 6b11fb6 commit a4e6fd2
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ chrono = "0.4"
clap = { version = "4.4", features = ["derive"] }
ctrlc2 = { version = "3.5", features = ["tokio", "termination"] }
dotenvy = "0.15"
env_logger = "0.10"
env_logger = "0.11"
futures-util = { version = "0.3", default-features = false, features = [
"sink",
"std",
Expand Down
3 changes: 1 addition & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ ENV OVERTLS_LOG_LEVEL=debug
ARG HTTP_PORT=80
ARG HTTPS_PORT=443

ARG VERION=v0.2.8
ARG OVERTLS_HOST=127.0.0.1
ARG OVERTLS_PORT=10000

Expand All @@ -23,7 +22,7 @@ RUN echo 'export HTTP_PORT='"$HTTP_PORT" > /etc/envinit.sh && \
sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list && \
\cp /utils.sh /etc/utils.sh && \
apt-get update && apt-get install -y wget nginx vim && chmod +x /run.sh && mkdir -p /default/ && cd /default && \
wget -O overtls.zip https://github.com/ShadowsocksR-Live/overtls/releases/download/$VERION/overtls-x86_64-unknown-linux-musl.zip && \
wget -O overtls.zip https://github.com/shadowsocksr-live/overtls/releases/latest/download/overtls-x86_64-unknown-linux-musl.zip && \
unzip overtls.zip && rm -rf overtls.zip && \
rm -rf /var/lib/apt/lists/* && \
mkdir /web && \
Expand Down
Empty file modified docker/run.sh
100644 → 100755
Empty file.
Empty file modified docker/utils.sh
100644 → 100755
Empty file.

0 comments on commit a4e6fd2

Please sign in to comment.