Skip to content

Commit 276f265

Browse files
authored
Issue #69: SteamCMD update errors (#72)
* Issue #69: Fix missing libraries causing SteamCMD job to be marked as failed * Issue #69: Bump version to v1.1.1 * Fix missing ca-certificates-java dependency * Issue #69: Move filtering of invalid error line
1 parent 03af8c8 commit 276f265

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,14 @@ RUN chmod 555 ./gradlew \
3131
# -- Create runtime image ---
3232
FROM cm2network/steamcmd AS runtime
3333

34-
ENV APP_VERSION=1.1.0
34+
ENV APP_VERSION=1.1.1
3535

3636
# TODO try to make the user not root. currently there are problems with mounted volumes ownership
3737
USER root
3838
RUN dpkg --add-architecture i386 \
3939
&& apt-get update \
4040
&& apt-get install -y \
41+
ca-certificates-java \
4142
lib32gcc-s1 \
4243
lib32stdc++6 \
4344
libcap2 \

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
}
88

99
group = 'cz.forgottenempire'
10-
version = '1.1.0'
10+
version = '1.1.1'
1111
sourceCompatibility = '17'
1212

1313
configurations {

src/main/java/cz/forgottenempire/servermanager/steamcmd/SteamCmdExecutor.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ private void handleProcessResult(String result, SteamCmdJob job) {
104104
String errorLine = result.lines()
105105
.map(String::toLowerCase)
106106
.map(this::removeParametersFromOutputLine)
107+
// Issue #69 missing steamservice.so and libSDL3.so.0 caused the job to be marked as failed
108+
// TODO find better solution to determine the job result
109+
.filter(line -> !line.contains("cannot open shared object file"))
107110
.filter(this::containsErrorKeyword)
108111
.findFirst()
109112
.orElse(null);

0 commit comments

Comments
 (0)