Skip to content

Commit f534fbd

Browse files
committed
Replace Dockerfile with extra build steps
1 parent 539f90a commit f534fbd

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

.gitlab-ci.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
default:
2-
image: registry.gitlab.com/scriptsmith/instamancer:latest
2+
image: node:latest
3+
variables:
4+
CI: 1
5+
NO_SANDBOX: 1
36
before_script:
47
- npm install -g codacy-coverage
8+
9+
- apt-get update
10+
- apt-get install -y wget gnupg
11+
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
12+
- sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
13+
- apt-get update
14+
- apt-get install -y google-chrome-unstable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf --no-install-recommends
15+
- apt-get install -y xvfb
16+
- rm -rf /var/lib/apt/lists/*
517
script:
618
- npm install
719
- npm run build -- --noEmit

Dockerfile

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)