Skip to content

Commit 5049e9e

Browse files
committed
fix: install packages as root
1 parent ee8f540 commit 5049e9e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

images/rider.Containerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
FROM ghcr.io/queil/image:latest
22

3+
USER root
34
RUN microdnf install --nodocs --setopt install_weak_deps=0 -y \
45
openssh-server openssh-clients java-21-openjdk java-21-openjdk-devel \
56
&& microdnf clean all
@@ -9,4 +10,6 @@ RUN mkdir -p /var/run/sshd && \
910

1011
RUN echo "queil:rider" | chpasswd
1112

13+
USER queil
14+
1215
CMD ["/usr/sbin/sshd", "-D", "-p", "2222", "-E", "/dev/stderr"]

0 commit comments

Comments
 (0)