Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: Install mods using.tar.gz instead of .zip #108

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.*
!/.github
!/.vscode
!/.gitignore
50 changes: 25 additions & 25 deletions generate/definitions/VARIANTS.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -65,35 +65,35 @@ $VARIANTS = @(
@{
variables = @{
bf2stats_2_sha256sum = @"
4e91c5cdda63aaff1e2ccc20f40befcb603000eac25221be4cefbdebfdee6aec 2.3.0.zip
b9569819f7c58b70ff3e66d9219aed78ad6433d5cbba58f46b7bc0bf9eeb6d89 2.3.1.zip
448bc8a9d5adbad509f6d79e53ae030d4a5e0948bb301aaafe42c5442c1ffeef 2.3.2.zip
21c2a7cdd3acfa7365af39085b2a514212dd18821c1ec2817af40b4fca00c8a6 2.3.3.zip
37b6c6f08d5ac146185db8f3b2eb41add5f3dfb30ec79dda1b3c86ae7cac17e0 2.3.4.zip
81d37e150a44261dbac82b0f2590268ec8a9dc4a311bec0f0bf3a45d2969fb8d 2.3.5.zip
af34261aec86749a65b358b5325639f724ae84f52c97f8cdddba6e867836e8eb 2.3.6.zip
89a0f56becd310c02cc7a8200c3a235bde7a7edf0b8b221c42aa60de02ae2d9a 2.3.7.zip
6de7a0e381163f056cc7da8aba5b29a2d9245e8b0319f8d78e0588c4ff1f3473 2.3.8.zip
adb1c8d60b9cafc6f27d6722aa084b0bfefe828653abe8845c8858607cb7e3e0 2.4.0.zip
f1126f700eabf0164e389bfbf62d74cefe891fe2a888811c1da57a071a35f89f 2.4.1.zip
f7c47b22e30548737b05ddb9f8ef8e33a108b9184b4b2818759a318bd621f374 2.4.2.zip
8dc15a5398c070f1ceb236c2e78b5d6095338f6e075e4e7ca4345a50f0091cee 2.4.3.zip
e9b6fe8ae1f2306b50d60a4ca05a39d02036b40e741884d3860959aa70b2500a 2.4.4.zip
b0a8b23841c5d3fac51650a6da8ff0e77c1d143a7aaf37c40c498077d71a2a2f 2.4.5.zip
59614e3afe781bef7d5e40ea306b3b9b9a700e2e4bf16c548a40916cf42ce882 2.4.6.zip
8dc705319c03fc9083f41f2b988e8dba1d54f43d3dd518fae1e5cb6c9b38a110 2.5.0.zip
3d736d1990d452e5da3f24d7d0eb1091a85a286239b5667fab98518cb1c115c9 2.5.1.zip
6438d1f3a940fbb81c38b5b43aa73f077721a89bd4752da5d1e40bf214e7fc1e 2.6.0.zip
48b47519d16f33db4a13fcdeaa4e74b0b5f9a81eb9f193ca83c48657ed4b9f45 2.7.0.zip
29a25c6e78062f34b05d7086aad530b598b4c9ed3f32164ffcf3b1c52b33f553 2.3.0.tar.gz
9a5e0544ba1474feb5ca0194449f6d6dee521abf59cba96dbc94387490d660b0 2.3.1.tar.gz
3949e8edfa35929816ac0756ff205e9bef9644f7da1aeb6b87a56048faf0f24a 2.3.2.tar.gz
99c7587a4f407a8f209e46f08985130d8da1931bc91b7bcfdce7b130c566d8ad 2.3.3.tar.gz
107153f0b063e8dc5974575861a5a75d2562322ee51eb9f7909452b1f9fc4e4a 2.3.4.tar.gz
b9395be32a76a226ce59a29ee44142d2bc20ca4dd254298ce37a973ae83e496a 2.3.5.tar.gz
9ed346672d049cc30a8f6c8f02ffe03bf424ba423ba39ba5221ba81451a31d6c 2.3.6.tar.gz
7a08582592f230a80f28e548b606cbdc16aca2488a97f8e1768c5857de63b6e6 2.3.7.tar.gz
4e334a262fdd3e04ac691005149e44a6fb4d4a4e1e31394cd1cdfa333a1a8801 2.3.8.tar.gz
8bddbbc4ddff99c769b368d58d6b562c342480695f0adc0d01867fc1adc3254a 2.4.0.tar.gz
e68f2a867eac0c234e4d02c01f4777d8b5135099ecb171476f5361e828ea581f 2.4.1.tar.gz
f9df9561ab49ff83608f1dba8c386fb1f79f115d11cdef47e5dc99bbf6c9366b 2.4.2.tar.gz
c4ef17a55854e8bf174729b281050468b0b6881d3c516233d30350c6adc1981d 2.4.3.tar.gz
0d320a5354d21c081bd94e98fc26a315d10989b62f36e34d21e4211535b20374 2.4.4.tar.gz
0e438634c5d371838522a67761dc67b9d9c4dd3530678aa3b1a93183352319cd 2.4.5.tar.gz
bf490e3c5d035872f248c15fd32deaf21c84bc254c9e9fd71ec17bb814543e09 2.4.6.tar.gz
de0468b62a510b1b074e6be41b79027edb4f3198940b65d01aa4947cafc27bf8 2.5.0.tar.gz
e07f46f0078fc0dcdbeb0dd86e1e9add4b502b0d7b263711dcad957ec4a6de61 2.5.1.tar.gz
7a75b58fec1b1d105c1a495e543eff6f2ee0fd0bf4ab010078539ef95e55f6e7 2.6.0.tar.gz
daeb57232cd1725bea3cf45c197fba13d99251864347ffff44552aae585b273a 2.7.0.tar.gz
"@
bf2stats_3_statspython_sha256sum = @"
ab6d0f2dc3c90223524a6d97dd3100796fdf266444b5cd2f066116b977d3551c 3.1.0.zip
fb739d900ea59e82147a6da9d7e72b329425b315bd8a08749a90fefc15365798 3.1.1.zip
21958c614ce880f63cd4c5a9db366ccacf68674cd89f50bbf95d9aa2d9bca878 3.1.2.zip
c43db3c1efbf437838af639b6f6151af5b5d88d2016bf49c765240524d199038 3.2.0.zip
de7080d9ecd0af9d547d434c83ec9826d8639a3ab05b10dc07f6ae5bb603149b 3.1.0.tar.gz
7bfd73109eb5edd686a05f421ec5a3542cf403b228412fc823e702f76c63848e 3.1.1.tar.gz
3a6478e92f3ce62bfd9f00c8dd1405ce9d97b03f6e1dcdcc83b1628fea3eb8f4 3.1.2.tar.gz
782dda8f985e35ad40cdc3bd72fb336aa87846a518b4157b6e1647faa3e8ddb4 3.2.0.tar.gz
"@
bf2stats_3_sha256sum = @"
72d37a4ca102166f741cc291308144e3a16505390cd4e72c21e2ecd26f2b8249 3.3.0.zip
1da26288ad11e15b6838b73678ceab54b0f088e758e430dc636ad791d641f930 3.3.0.tar.gz
"@
fh2_sha256sum = @"
bb933052ad20928b5a4bc6c1eeff647d62b0f3b38de46d063101719a9f0cf488 fh2-server-4.6.304.tar
Expand Down
33 changes: 20 additions & 13 deletions generate/templates/Dockerfile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ RUN set -eux; \
$v = $matches[1]
if ($v -eq '2.2.0') {
@"
# Install bf2stats $v
# Install bf2stats 2.2.0
# See: https://code.google.com/archive/p/bf2stats/
WORKDIR /root
RUN set -eux; \
# I know, it is mispelled
Expand All @@ -121,12 +122,14 @@ RUN set -eux; \
# Install bf2stats $v
WORKDIR /root
RUN set -eux; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/$v.zip; \
echo "$( $PASS_VARIABLES['bf2stats_2_sha256sum'] -split "`n" | % { $_.Trim() } | Select-String -SimpleMatch "$v.zip" )" | sha256sum -c -; \
unzip $v.zip -d extract; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/$v.tar.gz; \
echo "$( $PASS_VARIABLES['bf2stats_2_sha256sum'] -split "`n" | % { $_.Trim() } | Select-String -SimpleMatch "$v.tar.gz" )" | sha256sum -c -; \
mkdir -p extract; \
tar -C extract -zxvf $v.tar.gz; \
rm -rf /server/bf2/python; \
mv extract/bf2stats-$v/src/python /server/bf2/python; \
rm -fv $v.zip;
rm -fv $v.tar.gz; \
rm -rf extract


"@
Expand All @@ -140,11 +143,13 @@ RUN set -eux; \
# Install bf2stats $v
WORKDIR /root
RUN set -eux; \
curl -sSLO https://github.com/startersclan/StatsPython/archive/refs/tags/$v.zip; \
echo "$( $PASS_VARIABLES['bf2stats_3_statspython_sha256sum'] -split "`n" | % { $_.Trim() } | Select-String -SimpleMatch "$v.zip" )" | sha256sum -c -; \
unzip $v.zip -d extract; \
curl -sSLO https://github.com/startersclan/StatsPython/archive/refs/tags/$v.tar.gz; \
echo "$( $PASS_VARIABLES['bf2stats_3_statspython_sha256sum'] -split "`n" | % { $_.Trim() } | Select-String -SimpleMatch "$v.tar.gz" )" | sha256sum -c -; \
mkdir -p extract; \
tar -C extract -zxvf $v.tar.gz; \
cp -r extract/*/. /server/bf2/python/bf2/; \
rm -fv $v.zip;
rm -fv $v.tar.gz; \
rm -rf extract


"@
Expand All @@ -153,12 +158,14 @@ RUN set -eux; \
# Install bf2stats $v
WORKDIR /root
RUN set -eux; \
curl -sSLO https://github.com/startersclan/asp/archive/refs/tags/$v.zip; \
echo "$( $PASS_VARIABLES['bf2stats_3_sha256sum'] -split "`n" | % { $_.Trim() } | Select-String -SimpleMatch "$v.zip" )" | sha256sum -c -; \
unzip $v.zip -d extract; \
curl -sSLO https://github.com/startersclan/asp/archive/refs/tags/$v.tar.gz; \
echo "$( $PASS_VARIABLES['bf2stats_3_sha256sum'] -split "`n" | % { $_.Trim() } | Select-String -SimpleMatch "$v.tar.gz" )" | sha256sum -c -; \
mkdir -p extract; \
tar -C extract -zxvf $v.tar.gz; \
rm -rf /server/bf2/python; \
mv extract/asp-$v/src/python /server/bf2/python; \
rm -fv $v.zip;
rm -fv $v.tar.gz; \
rm -rf extract
"@
}
}
Expand Down
1 change: 1 addition & 0 deletions variants/v1.5.3153.0-bf2all64-bf2stats-2.2.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ RUN set -eux; \
rm -v /aibehaviours-fixlookatwrapper.ai

# Install bf2stats 2.2.0
# See: https://code.google.com/archive/p/bf2stats/
WORKDIR /root
RUN set -eux; \
# I know, it is mispelled
Expand Down
10 changes: 6 additions & 4 deletions variants/v1.5.3153.0-bf2all64-bf2stats-2.3.8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@ RUN set -eux; \
# Install bf2stats 2.3.8
WORKDIR /root
RUN set -eux; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/2.3.8.zip; \
echo "6de7a0e381163f056cc7da8aba5b29a2d9245e8b0319f8d78e0588c4ff1f3473 2.3.8.zip" | sha256sum -c -; \
unzip 2.3.8.zip -d extract; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/2.3.8.tar.gz; \
echo "4e334a262fdd3e04ac691005149e44a6fb4d4a4e1e31394cd1cdfa333a1a8801 2.3.8.tar.gz" | sha256sum -c -; \
mkdir -p extract; \
tar -C extract -zxvf 2.3.8.tar.gz; \
rm -rf /server/bf2/python; \
mv extract/bf2stats-2.3.8/src/python /server/bf2/python; \
rm -fv 2.3.8.zip;
rm -fv 2.3.8.tar.gz; \
rm -rf extract

# Install ESAI in all mods
WORKDIR /root
Expand Down
10 changes: 6 additions & 4 deletions variants/v1.5.3153.0-bf2all64-bf2stats-2.4.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@ RUN set -eux; \
# Install bf2stats 2.4.6
WORKDIR /root
RUN set -eux; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/2.4.6.zip; \
echo "59614e3afe781bef7d5e40ea306b3b9b9a700e2e4bf16c548a40916cf42ce882 2.4.6.zip" | sha256sum -c -; \
unzip 2.4.6.zip -d extract; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/2.4.6.tar.gz; \
echo "bf490e3c5d035872f248c15fd32deaf21c84bc254c9e9fd71ec17bb814543e09 2.4.6.tar.gz" | sha256sum -c -; \
mkdir -p extract; \
tar -C extract -zxvf 2.4.6.tar.gz; \
rm -rf /server/bf2/python; \
mv extract/bf2stats-2.4.6/src/python /server/bf2/python; \
rm -fv 2.4.6.zip;
rm -fv 2.4.6.tar.gz; \
rm -rf extract

# Install ESAI in all mods
WORKDIR /root
Expand Down
10 changes: 6 additions & 4 deletions variants/v1.5.3153.0-bf2all64-bf2stats-2.5.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@ RUN set -eux; \
# Install bf2stats 2.5.1
WORKDIR /root
RUN set -eux; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/2.5.1.zip; \
echo "3d736d1990d452e5da3f24d7d0eb1091a85a286239b5667fab98518cb1c115c9 2.5.1.zip" | sha256sum -c -; \
unzip 2.5.1.zip -d extract; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/2.5.1.tar.gz; \
echo "e07f46f0078fc0dcdbeb0dd86e1e9add4b502b0d7b263711dcad957ec4a6de61 2.5.1.tar.gz" | sha256sum -c -; \
mkdir -p extract; \
tar -C extract -zxvf 2.5.1.tar.gz; \
rm -rf /server/bf2/python; \
mv extract/bf2stats-2.5.1/src/python /server/bf2/python; \
rm -fv 2.5.1.zip;
rm -fv 2.5.1.tar.gz; \
rm -rf extract

# Install ESAI in all mods
WORKDIR /root
Expand Down
10 changes: 6 additions & 4 deletions variants/v1.5.3153.0-bf2all64-bf2stats-2.6.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@ RUN set -eux; \
# Install bf2stats 2.6.0
WORKDIR /root
RUN set -eux; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/2.6.0.zip; \
echo "6438d1f3a940fbb81c38b5b43aa73f077721a89bd4752da5d1e40bf214e7fc1e 2.6.0.zip" | sha256sum -c -; \
unzip 2.6.0.zip -d extract; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/2.6.0.tar.gz; \
echo "7a75b58fec1b1d105c1a495e543eff6f2ee0fd0bf4ab010078539ef95e55f6e7 2.6.0.tar.gz" | sha256sum -c -; \
mkdir -p extract; \
tar -C extract -zxvf 2.6.0.tar.gz; \
rm -rf /server/bf2/python; \
mv extract/bf2stats-2.6.0/src/python /server/bf2/python; \
rm -fv 2.6.0.zip;
rm -fv 2.6.0.tar.gz; \
rm -rf extract

# Install ESAI in all mods
WORKDIR /root
Expand Down
10 changes: 6 additions & 4 deletions variants/v1.5.3153.0-bf2all64-bf2stats-2.7.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@ RUN set -eux; \
# Install bf2stats 2.7.0
WORKDIR /root
RUN set -eux; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/2.7.0.zip; \
echo "48b47519d16f33db4a13fcdeaa4e74b0b5f9a81eb9f193ca83c48657ed4b9f45 2.7.0.zip" | sha256sum -c -; \
unzip 2.7.0.zip -d extract; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/2.7.0.tar.gz; \
echo "daeb57232cd1725bea3cf45c197fba13d99251864347ffff44552aae585b273a 2.7.0.tar.gz" | sha256sum -c -; \
mkdir -p extract; \
tar -C extract -zxvf 2.7.0.tar.gz; \
rm -rf /server/bf2/python; \
mv extract/bf2stats-2.7.0/src/python /server/bf2/python; \
rm -fv 2.7.0.zip;
rm -fv 2.7.0.tar.gz; \
rm -rf extract

# Install ESAI in all mods
WORKDIR /root
Expand Down
10 changes: 6 additions & 4 deletions variants/v1.5.3153.0-bf2all64-bf2stats-3.1.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,13 @@ RUN set -eux; \
# Install bf2stats 3.1.0
WORKDIR /root
RUN set -eux; \
curl -sSLO https://github.com/startersclan/StatsPython/archive/refs/tags/3.1.0.zip; \
echo "ab6d0f2dc3c90223524a6d97dd3100796fdf266444b5cd2f066116b977d3551c 3.1.0.zip" | sha256sum -c -; \
unzip 3.1.0.zip -d extract; \
curl -sSLO https://github.com/startersclan/StatsPython/archive/refs/tags/3.1.0.tar.gz; \
echo "de7080d9ecd0af9d547d434c83ec9826d8639a3ab05b10dc07f6ae5bb603149b 3.1.0.tar.gz" | sha256sum -c -; \
mkdir -p extract; \
tar -C extract -zxvf 3.1.0.tar.gz; \
cp -r extract/*/. /server/bf2/python/bf2/; \
rm -fv 3.1.0.zip;
rm -fv 3.1.0.tar.gz; \
rm -rf extract

# Install ESAI in all mods
WORKDIR /root
Expand Down
10 changes: 6 additions & 4 deletions variants/v1.5.3153.0-bf2all64-bf2stats-3.1.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,13 @@ RUN set -eux; \
# Install bf2stats 3.1.2
WORKDIR /root
RUN set -eux; \
curl -sSLO https://github.com/startersclan/StatsPython/archive/refs/tags/3.1.2.zip; \
echo "21958c614ce880f63cd4c5a9db366ccacf68674cd89f50bbf95d9aa2d9bca878 3.1.2.zip" | sha256sum -c -; \
unzip 3.1.2.zip -d extract; \
curl -sSLO https://github.com/startersclan/StatsPython/archive/refs/tags/3.1.2.tar.gz; \
echo "3a6478e92f3ce62bfd9f00c8dd1405ce9d97b03f6e1dcdcc83b1628fea3eb8f4 3.1.2.tar.gz" | sha256sum -c -; \
mkdir -p extract; \
tar -C extract -zxvf 3.1.2.tar.gz; \
cp -r extract/*/. /server/bf2/python/bf2/; \
rm -fv 3.1.2.zip;
rm -fv 3.1.2.tar.gz; \
rm -rf extract

# Install ESAI in all mods
WORKDIR /root
Expand Down
10 changes: 6 additions & 4 deletions variants/v1.5.3153.0-bf2all64-bf2stats-3.2.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,13 @@ RUN set -eux; \
# Install bf2stats 3.2.0
WORKDIR /root
RUN set -eux; \
curl -sSLO https://github.com/startersclan/StatsPython/archive/refs/tags/3.2.0.zip; \
echo "c43db3c1efbf437838af639b6f6151af5b5d88d2016bf49c765240524d199038 3.2.0.zip" | sha256sum -c -; \
unzip 3.2.0.zip -d extract; \
curl -sSLO https://github.com/startersclan/StatsPython/archive/refs/tags/3.2.0.tar.gz; \
echo "782dda8f985e35ad40cdc3bd72fb336aa87846a518b4157b6e1647faa3e8ddb4 3.2.0.tar.gz" | sha256sum -c -; \
mkdir -p extract; \
tar -C extract -zxvf 3.2.0.tar.gz; \
cp -r extract/*/. /server/bf2/python/bf2/; \
rm -fv 3.2.0.zip;
rm -fv 3.2.0.tar.gz; \
rm -rf extract

# Install ESAI in all mods
WORKDIR /root
Expand Down
10 changes: 6 additions & 4 deletions variants/v1.5.3153.0-bf2all64-bf2stats-3.3.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@ RUN set -eux; \
# Install bf2stats 3.3.0
WORKDIR /root
RUN set -eux; \
curl -sSLO https://github.com/startersclan/asp/archive/refs/tags/3.3.0.zip; \
echo "72d37a4ca102166f741cc291308144e3a16505390cd4e72c21e2ecd26f2b8249 3.3.0.zip" | sha256sum -c -; \
unzip 3.3.0.zip -d extract; \
curl -sSLO https://github.com/startersclan/asp/archive/refs/tags/3.3.0.tar.gz; \
echo "1da26288ad11e15b6838b73678ceab54b0f088e758e430dc636ad791d641f930 3.3.0.tar.gz" | sha256sum -c -; \
mkdir -p extract; \
tar -C extract -zxvf 3.3.0.tar.gz; \
rm -rf /server/bf2/python; \
mv extract/asp-3.3.0/src/python /server/bf2/python; \
rm -fv 3.3.0.zip;# Install ESAI in all mods
rm -fv 3.3.0.tar.gz; \
rm -rf extract# Install ESAI in all mods
WORKDIR /root
COPY ESAI-Standard-v4.2.zip ESAI-Standard-v4.2.zip
COPY lowercase-helper /usr/local/bin/lowercase-helper
Expand Down
1 change: 1 addition & 0 deletions variants/v1.5.3153.0-bf2stats-2.2.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ RUN set -eux; \
rm -v /aibehaviours-fixlookatwrapper.ai

# Install bf2stats 2.2.0
# See: https://code.google.com/archive/p/bf2stats/
WORKDIR /root
RUN set -eux; \
# I know, it is mispelled
Expand Down
10 changes: 6 additions & 4 deletions variants/v1.5.3153.0-bf2stats-2.3.8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ RUN set -eux; \
# Install bf2stats 2.3.8
WORKDIR /root
RUN set -eux; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/2.3.8.zip; \
echo "6de7a0e381163f056cc7da8aba5b29a2d9245e8b0319f8d78e0588c4ff1f3473 2.3.8.zip" | sha256sum -c -; \
unzip 2.3.8.zip -d extract; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/2.3.8.tar.gz; \
echo "4e334a262fdd3e04ac691005149e44a6fb4d4a4e1e31394cd1cdfa333a1a8801 2.3.8.tar.gz" | sha256sum -c -; \
mkdir -p extract; \
tar -C extract -zxvf 2.3.8.tar.gz; \
rm -rf /server/bf2/python; \
mv extract/bf2stats-2.3.8/src/python /server/bf2/python; \
rm -fv 2.3.8.zip;
rm -fv 2.3.8.tar.gz; \
rm -rf extract

# Install ESAI in all mods
WORKDIR /root
Expand Down
10 changes: 6 additions & 4 deletions variants/v1.5.3153.0-bf2stats-2.4.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ RUN set -eux; \
# Install bf2stats 2.4.6
WORKDIR /root
RUN set -eux; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/2.4.6.zip; \
echo "59614e3afe781bef7d5e40ea306b3b9b9a700e2e4bf16c548a40916cf42ce882 2.4.6.zip" | sha256sum -c -; \
unzip 2.4.6.zip -d extract; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/2.4.6.tar.gz; \
echo "bf490e3c5d035872f248c15fd32deaf21c84bc254c9e9fd71ec17bb814543e09 2.4.6.tar.gz" | sha256sum -c -; \
mkdir -p extract; \
tar -C extract -zxvf 2.4.6.tar.gz; \
rm -rf /server/bf2/python; \
mv extract/bf2stats-2.4.6/src/python /server/bf2/python; \
rm -fv 2.4.6.zip;
rm -fv 2.4.6.tar.gz; \
rm -rf extract

# Install ESAI in all mods
WORKDIR /root
Expand Down
10 changes: 6 additions & 4 deletions variants/v1.5.3153.0-bf2stats-2.5.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ RUN set -eux; \
# Install bf2stats 2.5.1
WORKDIR /root
RUN set -eux; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/2.5.1.zip; \
echo "3d736d1990d452e5da3f24d7d0eb1091a85a286239b5667fab98518cb1c115c9 2.5.1.zip" | sha256sum -c -; \
unzip 2.5.1.zip -d extract; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/2.5.1.tar.gz; \
echo "e07f46f0078fc0dcdbeb0dd86e1e9add4b502b0d7b263711dcad957ec4a6de61 2.5.1.tar.gz" | sha256sum -c -; \
mkdir -p extract; \
tar -C extract -zxvf 2.5.1.tar.gz; \
rm -rf /server/bf2/python; \
mv extract/bf2stats-2.5.1/src/python /server/bf2/python; \
rm -fv 2.5.1.zip;
rm -fv 2.5.1.tar.gz; \
rm -rf extract

# Install ESAI in all mods
WORKDIR /root
Expand Down
10 changes: 6 additions & 4 deletions variants/v1.5.3153.0-bf2stats-2.6.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ RUN set -eux; \
# Install bf2stats 2.6.0
WORKDIR /root
RUN set -eux; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/2.6.0.zip; \
echo "6438d1f3a940fbb81c38b5b43aa73f077721a89bd4752da5d1e40bf214e7fc1e 2.6.0.zip" | sha256sum -c -; \
unzip 2.6.0.zip -d extract; \
curl -sSLO https://github.com/startersclan/bf2stats/archive/refs/tags/2.6.0.tar.gz; \
echo "7a75b58fec1b1d105c1a495e543eff6f2ee0fd0bf4ab010078539ef95e55f6e7 2.6.0.tar.gz" | sha256sum -c -; \
mkdir -p extract; \
tar -C extract -zxvf 2.6.0.tar.gz; \
rm -rf /server/bf2/python; \
mv extract/bf2stats-2.6.0/src/python /server/bf2/python; \
rm -fv 2.6.0.zip;
rm -fv 2.6.0.tar.gz; \
rm -rf extract

# Install ESAI in all mods
WORKDIR /root
Expand Down
Loading