mirror of https://github.com/coder/code-server.git
Use rpm to install in Fedora image (#6670)
Dnf will pull caches if invoked for local file install and is also unnecessary
This commit is contained in:
parent
a2d35ad815
commit
45164bf749
|
@ -35,7 +35,7 @@ RUN ARCH="$(uname -m | sed 's/x86_64/amd64/g' | sed 's/aarch64/arm64/g')" \
|
||||||
&& printf "user: coder\ngroup: coder\n" > /etc/fixuid/config.yml
|
&& printf "user: coder\ngroup: coder\n" > /etc/fixuid/config.yml
|
||||||
|
|
||||||
COPY ci/release-image/entrypoint.sh /usr/bin/entrypoint.sh
|
COPY ci/release-image/entrypoint.sh /usr/bin/entrypoint.sh
|
||||||
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
|
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
|
||||||
|
|
||||||
# Allow users to have scripts run on container startup to prepare workspace.
|
# Allow users to have scripts run on container startup to prepare workspace.
|
||||||
# https://github.com/coder/code-server/issues/5177
|
# https://github.com/coder/code-server/issues/5177
|
||||||
|
|
Loading…
Reference in New Issue