Skip to content

Commit 45164bf

Browse files
authored
Use rpm to install in Fedora image (#6670)
Dnf will pull caches if invoked for local file install and is also unnecessary
1 parent a2d35ad commit 45164bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/release-image/Dockerfile.fedora

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ RUN ARCH="$(uname -m | sed 's/x86_64/amd64/g' | sed 's/aarch64/arm64/g')" \
3535
&& printf "user: coder\ngroup: coder\n" > /etc/fixuid/config.yml
3636

3737
COPY ci/release-image/entrypoint.sh /usr/bin/entrypoint.sh
38-
RUN --mount=from=packages,src=/tmp,dst=/tmp/packages dnf install -y /tmp/packages/code-server*$(uname -m | sed 's/x86_64/amd64/g' | sed 's/aarch64/arm64/g').rpm
38+
RUN --mount=from=packages,src=/tmp,dst=/tmp/packages rpm -i /tmp/packages/code-server*$(uname -m | sed 's/x86_64/amd64/g' | sed 's/aarch64/arm64/g').rpm
3939

4040
# Allow users to have scripts run on container startup to prepare workspace.
4141
# https://github.com/coder/code-server/issues/5177

0 commit comments

Comments
 (0)