We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b27e142 commit c1f05f7Copy full SHA for c1f05f7
container/gopls/ContainerFile
@@ -16,5 +16,9 @@ LABEL org.opencontainers.image.title="Gopls LSP" \
16
WORKDIR /app
17
COPY --from=builder /go/bin/gopls /usr/local/bin/gopls
18
19
+RUN addgroup -g 1000 gopls && adduser -D -u 1000 -G gopls gopls
20
+
21
WORKDIR /workspace
22
+RUN mkdir -p /workspace && chown -R 1000:1000 /workspace
23
+USER 1000:1000
24
ENTRYPOINT ["gopls", "serve"]
0 commit comments