Skip to content

Commit 86cfad5

Browse files
authored
Merge pull request #3907 from silamon/devcontainerdeprecation
Fix devcontainer docker build
2 parents ebc1c73 + 8153aea commit 86cfad5

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:14
1+
FROM node:14-buster
22

33
# Configure apt
44
ENV DEBIAN_FRONTEND=noninteractive
@@ -8,19 +8,13 @@ RUN apt-get update \
88
# Verify git and process tools are installed
99
RUN apt-get install -y git procps
1010

11-
# Install yarn, puppeteer deps
11+
# Install yarn
1212
RUN apt-get install -y curl apt-transport-https lsb-release \
1313
&& curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - 2>/dev/null \
1414
&& echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
1515
&& apt-get update \
1616
&& apt-get -y install --no-install-recommends \
17-
yarn fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst ttf-freefont \
18-
# https://github.com/Googlechrome/puppeteer/issues/290#issuecomment-322921352
19-
gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 \
20-
libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 \
21-
libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 \
22-
libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 \
23-
ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
17+
yarn
2418

2519
# Clean up
2620
RUN apt-get autoremove -y \

0 commit comments

Comments
 (0)