-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/noctisynth/oblivion-rust
- Loading branch information
Showing
8 changed files
with
61 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM ubuntu:22.04 | ||
RUN mkdir /root/.cargo | ||
COPY ./ /root/oblivion-rust | ||
COPY ./rsproxy.config /root/.cargo/config | ||
COPY ./ubuntu.list /etc/apt/source.list | ||
RUN apt-get update && apt-get install -y rustc cargo | ||
WORKDIR /root/oblivion-rust | ||
ENTRYPOINT ["cargo", "run", "--release"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
code . | ||
powershell -c "Start-Process -WindowStyle hidden -FilePath "code ."" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: '3' | ||
services: | ||
oblivion-rust: | ||
build: . | ||
container_name: oblivion-rust | ||
ports: | ||
- "7076:7076" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[source.crates-io] | ||
replace-with = 'rsproxy-sparse' | ||
[source.rsproxy] | ||
registry = "https://rsproxy.cn/crates.io-index" | ||
[source.rsproxy-sparse] | ||
registry = "sparse+https://rsproxy.cn/index/" | ||
[registries.rsproxy] | ||
index = "https://rsproxy.cn/crates.io-index" | ||
[net] | ||
git-fetch-with-cli = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
deb https://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse | ||
deb-src https://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse | ||
|
||
deb https://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse | ||
deb-src https://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse | ||
|
||
deb https://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse | ||
deb-src https://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse | ||
|
||
# deb https://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse | ||
# deb-src https://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse | ||
|
||
deb https://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse | ||
deb-src https://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse | ||
|