7da05febea
* Enhanced Astro codespace support Enhances the base devcontainer and Dockerfile to provide a smoother development experience out of the box for contributors. Adds a devcontainer per example so that we can add buttons on astro.new that will launch users straight into the appropriate example app. * Cleanup devcontainers and pin base image * Update .devcontainer/example-welcome-message.txt Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com> --------- Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
17 lines
No EOL
589 B
Docker
17 lines
No EOL
589 B
Docker
FROM mcr.microsoft.com/devcontainers/javascript-node:0-18
|
|
|
|
# Install playwright
|
|
RUN npm install -g @playwright/test
|
|
|
|
# Install latest pnpm
|
|
RUN npm install -g pnpm
|
|
|
|
# Install deno
|
|
ENV DENO_INSTALL=/usr/local
|
|
RUN curl -fsSL https://deno.land/x/install/install.sh | sh
|
|
|
|
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
|
&& curl -sSL https://dl.google.com/linux/direct/google-chrome-stable_current_$(dpkg --print-architecture).deb -o /tmp/chrome.deb \
|
|
&& apt-get -y install /tmp/chrome.deb
|
|
|
|
COPY welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt |