2020-02-15 08:03:54 +07:00
|
|
|
FROM node:12
|
2020-02-15 06:54:52 +07:00
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
libxkbfile-dev \
|
2020-02-15 08:03:54 +07:00
|
|
|
libx11-dev \
|
2020-02-15 06:54:52 +07:00
|
|
|
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
|
|
|
|
|
2020-02-15 07:46:00 +07:00
|
|
|
ENV PAGER=cat
|
|
|
|
ENV CI=true
|
|
|
|
|
2020-02-15 06:54:52 +07:00
|
|
|
ENTRYPOINT ["dumb-init", "/bin/entrypoint.sh"]
|