12 Commits

Author SHA1 Message Date
a3bbdca302 1.0.7 2022-06-16 16:08:52 +02:00
81b58b8e05 fix(core): update 2022-06-16 16:08:51 +02:00
327119fc43 1.0.6 2022-06-16 15:56:18 +02:00
ce74d028b4 fix(core): update 2022-06-16 15:56:18 +02:00
9c9f34b9b0 1.0.5 2022-06-16 15:44:14 +02:00
7a27674170 fix(core): update 2022-06-16 15:44:14 +02:00
827375dc9e 1.0.4 2022-06-16 15:43:44 +02:00
3069db6cb8 fix(core): update 2022-06-16 15:43:43 +02:00
62705a9bed 1.0.3 2018-05-16 03:05:13 +02:00
81d81817d1 fix(core): update 2018-05-16 03:05:13 +02:00
0eb2a3ac44 1.0.2 2018-05-16 02:32:45 +02:00
982ca3b1d2 fix(core): add build tools 2018-05-16 02:32:45 +02:00
4 changed files with 117 additions and 65 deletions

View File

@ -1,75 +1,51 @@
# gitzone docker
image: hosttoday/ht-docker-dbase:npmci
services:
- docker:dind
# gitzone ci_docker
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
stages:
- buildAndTest
- triggerPagesVerify
cache:
paths:
- .npmci-cache/
key: "$CI_BUILD_STAGE"
before_script:
- yarn global add npmci
- npmci docker login
- npmci npm prepare
buildTest:
stage: buildAndTest
stages:
- test
- release
- trigger
- pages
testStable:
stage: test
script:
- npmci docker build
- npmci docker test
except:
- tags
- triggers
- npmci node install stable
- npmci npm install
- npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- lossless
- priv
- docker
buildTestRelase:
stage: buildAndTest
release:
image: registry.gitlab.com/hosttoday/ht-docker-dbase:npmci
services:
- docker:stable-dind
stage: release
script:
- npmci node install lts
- npmci docker login
- npmci docker build
- npmci docker test
- npmci docker push registry.gitlab.com test
- npmci docker push registry.gitlab.com
- npmci docker push docker.io
only:
- tags
- triggers
tags:
- lossless
- docker
- priv
trigger:
stage: triggerPagesVerify
stage: trigger
script:
- npmci trigger
only:
- tags
- triggers
tags:
- lossless
- priv
pages:
stage: triggerPagesVerify
before_script:
- 'npmci -v'
image: hosttoday/ht-docker-node:npmci
script:
- npmci command yarn global add npmpage
- npmci command npmpage
only:
- tags
tags:
- docker
artifacts:
expire_in: 1 week
paths:
- public
verify:
stage: triggerPagesVerify
script:
- npmci docker pull registry.gitlab.com test
only:
- tags
tags:

View File

@ -1,4 +1,4 @@
FROM node:8-slim
FROM node:18-slim
# See https://crbug.com/795759
RUN apt-get update && apt-get install -yq libgconf-2-4
@ -16,6 +16,69 @@ RUN apt-get update && apt-get install -y wget --no-install-recommends \
&& apt-get purge --auto-remove -y curl \
&& rm -rf /src/*.deb
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
&& apt-get update \
&& apt-get upgrade --no-install-recommends -y \
&& apt-get install -y -q --no-install-recommends \
software-properties-common \
apt-transport-https \
build-essential \
ca-certificates \
curl \
g++ \
gcc \
git \
make \
openssl \
python \
rsync \
ssh \
wget \
gconf-service \
libasound2 \
libatk1.0-0 \
libc6 \
libcairo2 \
libcups2 \
libdbus-1-3 \
libexpat1 \
libfontconfig1 \
libgcc1 \
libgconf-2-4 \
libgdk-pixbuf2.0-0 \
libglib2.0-0 \
libgtk-3-0 \
libnspr4 \
libpango-1.0-0 \
libpangocairo-1.0-0 \
libstdc++6 \
libx11-6 \
libx11-xcb1 \
libxcb1 \
libxcomposite1 \
libxcursor1 \
libxdamage1 \
libxext6 \
libxfixes3 \
libxi6 \
libxrandr2 \
libxrender1 \
libxss1 \
libxtst6 \
ca-certificates \
fonts-liberation \
libappindicator1 \
libnss3 \
lsb-release \
xdg-utils \
wget \
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
&& apt-get update \
&& apt-get install yarn -y \
&& apt-get clean \
&& rm -r /var/lib/apt/lists/*
# It's a good idea to use dumb-init to help prevent zombie chrome processes.
ADD https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64 /usr/local/bin/dumb-init
RUN chmod +x /usr/local/bin/dumb-init

13
package-lock.json generated Normal file
View File

@ -0,0 +1,13 @@
{
"name": "ht-docker-chrome",
"version": "1.0.7",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "ht-docker-chrome",
"version": "1.0.7",
"license": "MIT"
}
}
}

View File

@ -1,11 +1,11 @@
{
"name": "ht-docker-chrome",
"private": true,
"version": "1.0.1",
"version": "1.0.7",
"description": "chrome for docker",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\""
},
"repository": {
"type": "git",