Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Commit c1a0a50

Browse files
Fix naev-steamruntime installing packages during building
1 parent d8e622a commit c1a0a50

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- Update dependencies in `naev-release`
1616
- Move away from ucrt64 packages to maintain ABI compatibility and help with rust compatibility in `naev-windows`
1717
- Update OpenBLAS to 0.3.29 in `naev-windows`
18+
- Fix `naev-steamruntime` installing packages during building
1819

1920
### v1.12.4
2021
- `naev-windows`, `naev-release`, and `naev-docs` also try to use a recent meson as fedora 41 version is too old for rust

naev-steamruntime/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ ENV CFLAGS "-fPIC"
2020
ENV CXXFLAGS "-fPIC"
2121

2222
# Install luarocks deps
23-
RUN apt-get -y install lua5.4 liblua5.4-dev make libncurses-dev libevent-dev libreadline-dev && \
23+
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
24+
apt-get -y install lua5.4 liblua5.4-dev make libncurses-dev libevent-dev libreadline-dev && \
2425
# Build luarocks
2526
curl -L -O https://luarocks.org/releases/luarocks-3.8.0.tar.gz && \
2627
tar zxpf luarocks-3.8.0.tar.gz && \
@@ -128,10 +129,11 @@ LABEL org.opencontainers.image.description "Used for testing linux steam builds
128129
ENV IMAGE_NAME "naev-steamruntime"
129130

130131
# Remove libopenal-dev and libopenal1, as we want to use our own built version.
131-
RUN DEBIAN_FRONTEND=noninteractive apt-get remove -y libopenal*
132+
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
133+
apt-get remove -y libopenal* && \
134+
apt-get clean
132135
COPY --from=build /opt/libs/usr/ /usr
133136

134-
135137
# Install pip from steam/debian repositories.
136138
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python3-pip \
137139
# Install LLVM and LLD for clang and friends

0 commit comments

Comments
 (0)