mirror of https://github.com/coder/code-server.git
17 lines
380 B
Docker
17 lines
380 B
Docker
FROM node:12
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
libxkbfile-dev \
|
|
libx11-dev \
|
|
libsecret-1-dev \
|
|
dumb-init
|
|
|
|
RUN curl -L https://github.com/mvdan/sh/releases/download/v3.0.1/shfmt_v3.0.1_linux_amd64 > /usr/local/bin/shfmt && chmod +x /usr/local/bin/shfmt
|
|
|
|
COPY entrypoint.sh /bin/entrypoint.sh
|
|
|
|
ENV PAGER=cat
|
|
ENV CI=true
|
|
|
|
ENTRYPOINT ["dumb-init", "/bin/entrypoint.sh"]
|