diff --git a/components/ws-daemon/leeway.Dockerfile b/components/ws-daemon/leeway.Dockerfile index 1b82e84f67e69f..7d3ce4ebc6f3e2 100644 --- a/components/ws-daemon/leeway.Dockerfile +++ b/components/ws-daemon/leeway.Dockerfile @@ -24,6 +24,10 @@ COPY --from=dl /dl/runc.amd64 /usr/bin/runc RUN addgroup -g 33333 gitpod \ && adduser -D -h /home/gitpod -s /bin/sh -u 33333 -G gitpod gitpod \ && echo "gitpod:gitpod" | chpasswd +# Add gitpodmp user for operations in the mapped UID/GID space +RUN echo "gitpodmp:x:133332:133332::/home/gitpod:/bin/bash" >> /etc/passwd +# Add missing known_hosts entry +RUN mkdir /home/gitpod/.ssh && echo $(ssh-keyscan -t rsa github.com) > /home/gitpod/.ssh/known_hosts COPY components-ws-daemon--app/ws-daemon /app/ws-daemond COPY components-ws-daemon--content-initializer/ws-daemon /app/content-initializer