Skip to content

Commit 611ae74

Browse files
committed
remove requirement for fuse by unpacking the binary before running the container
1 parent 624ed08 commit 611ae74

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

tcp-server/Dockerfile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,23 @@ ENV DEBIAN_FRONTEND=noninteractive
77
RUN apt-get update && apt-get install -y --no-install-recommends \
88
curl \
99
ca-certificates \
10-
fuse \
1110
libusb-1.0-0 \
1211
libgl1 \
1312
libharfbuzz0b \
1413
&& rm -rf /var/lib/apt/lists/*
1514

16-
# Download and prepare OpenRGB AppImage
15+
# Download OpenRGB AppImage
1716
RUN curl -L --retry 5 --retry-delay 3 \
1817
https://openrgb.org/releases/release_candidate_1.0rc1/OpenRGB_1.0rc1_x86_64_1fbacde.AppImage \
19-
-o /usr/local/bin/OpenRGB.AppImage && \
20-
chmod +x /usr/local/bin/OpenRGB.AppImage
18+
-o /tmp/OpenRGB.AppImage && \
19+
chmod +x /tmp/OpenRGB.AppImage && \
20+
# Extract AppImage contents to /opt/openrgb
21+
/tmp/OpenRGB.AppImage --appimage-extract && \
22+
mv squashfs-root /opt/openrgb && \
23+
rm /tmp/OpenRGB.AppImage
2124

2225
# Expose OpenRGB SDK port
2326
EXPOSE 6742
2427

25-
# Start OpenRGB server
26-
CMD ["/usr/local/bin/OpenRGB.AppImage", "--server"]
28+
# Start OpenRGB server using extracted binary
29+
CMD ["/opt/openrgb/AppRun", "--server"]

0 commit comments

Comments
 (0)