Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
Added Dockerfile for node with chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-albon-li committed Sep 22, 2020
1 parent d5f3fd3 commit b72cfa7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# syntax=docker/dockerfile:experimental

FROM node:12.8.1

RUN \
--mount=id=apt-cache,type=cache,target=/var/cache/apt \
--mount=id=apt-lib,type=cache,target=/var/lib/apt \
apt-get update --fix-missing && apt-get install -y jq
WORKDIR /downloads
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
RUN \
--mount=id=apt-cache,type=cache,target=/var/cache/apt \
--mount=id=apt-lib,type=cache,target=/var/lib/apt \
apt-get update --fix-missing && apt-get install -y -f ./google-chrome-stable_current_amd64.deb

0 comments on commit b72cfa7

Please sign in to comment.