Compare commits
40 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 138e25843d | |||
| 40d0d6b73e | |||
| 9a7949ea87 | |||
| ef46145028 | |||
| 0b5ff58b7b | |||
| 2756a4cf4e | |||
| e4dce5cbc1 | |||
| 6b07d92d12 | |||
| ae04ea4a41 | |||
| 2abed13111 | |||
| 14da195a62 | |||
| bbe957a694 | |||
| 963ca3e5ff | |||
| 108ec46426 | |||
| 33ebe443bb | |||
| 90b2c7d5f3 | |||
| d16ad9bf61 | |||
| dd82475256 | |||
| 239bf6174d | |||
| 0ae1d77cb2 | |||
| decc90e211 | |||
| ae10a9eb98 | |||
| ba780fd445 | |||
| 27e5fc58e9 | |||
| db0ed5024d | |||
| 3da93c3cad | |||
| 66ba2a6641 | |||
| 002707729d | |||
| 4733cb523e | |||
| ebc7b3758f | |||
| 414c51b618 | |||
| 37681614de | |||
| 82185516e2 | |||
| 48bf7e135d | |||
| 4b0851c8a1 | |||
| 9c48d3e7ec | |||
| 7945303e9f | |||
| 2d11efdcf9 | |||
| 5100b6b3b1 | |||
| a8da4d3fd4 |
@@ -7,6 +7,7 @@ variables:
|
|||||||
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
|
- buildAndTest
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
- release
|
- release
|
||||||
@@ -17,11 +18,26 @@ before_script:
|
|||||||
- yarn global add npmci
|
- yarn global add npmci
|
||||||
- npmci docker login
|
- npmci docker login
|
||||||
|
|
||||||
|
buildAndTest:
|
||||||
|
stage: buildAndTest
|
||||||
|
script:
|
||||||
|
- npmci docker build
|
||||||
|
- npmci docker test
|
||||||
|
except:
|
||||||
|
- tags
|
||||||
|
- triggers
|
||||||
|
tags:
|
||||||
|
- lossless
|
||||||
|
- priv
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- npmci docker build
|
- npmci docker build
|
||||||
- npmci docker push registry.gitlab.com test
|
- npmci docker push registry.gitlab.com test
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
- triggers
|
||||||
tags:
|
tags:
|
||||||
- lossless
|
- lossless
|
||||||
- priv
|
- priv
|
||||||
@@ -32,6 +48,9 @@ test:
|
|||||||
script:
|
script:
|
||||||
- npmci docker pull registry.gitlab.com test
|
- npmci docker pull registry.gitlab.com test
|
||||||
- npmci docker test
|
- npmci docker test
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
- triggers
|
||||||
tags:
|
tags:
|
||||||
- lossless
|
- lossless
|
||||||
- priv
|
- priv
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM ubuntu:latest
|
FROM ubuntu:xenial
|
||||||
MAINTAINER Lossless GmbH <office@lossless.com>
|
MAINTAINER Lossless GmbH <office@lossless.com>
|
||||||
|
|
||||||
# important environment variables
|
# important environment variables
|
||||||
@@ -14,11 +14,14 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
|||||||
build-essential \
|
build-essential \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
curl \
|
curl \
|
||||||
|
g++ \
|
||||||
|
gcc \
|
||||||
git \
|
git \
|
||||||
ssh \
|
make \
|
||||||
openssl \
|
openssl \
|
||||||
python \
|
python \
|
||||||
rsync \
|
rsync \
|
||||||
|
ssh \
|
||||||
wget \
|
wget \
|
||||||
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
&& 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 \
|
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
FROM hosttoday/ht-docker-node:stable
|
FROM hosttoday/ht-docker-node:stable
|
||||||
MAINTAINER Lossless GmbH <office@lossless.com>
|
MAINTAINER Lossless GmbH <office@lossless.com>
|
||||||
|
|
||||||
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 \
|
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 \
|
||||||
&& echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.2.list \
|
&& echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.4.list \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install -y mongodb-org
|
&& apt-get install -y mongodb-org
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM hosttoday/ht-docker-node:stable
|
FROM hosttoday/ht-docker-node:stable
|
||||||
MAINTAINER Lossless GmbH <office@lossless.com>
|
MAINTAINER Lossless GmbH <office@lossless.com>
|
||||||
|
|
||||||
RUN npm install -g npmci
|
RUN yarn global add npmci
|
||||||
4
Dockerfile_npmdocker
Normal file
4
Dockerfile_npmdocker
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
FROM hosttoday/ht-docker-node:npmci
|
||||||
|
MAINTAINER Lossless GmbH <office@lossless.com>
|
||||||
|
|
||||||
|
RUN yarn global add npmdocker
|
||||||
19
Dockerfile_npmpage
Normal file
19
Dockerfile_npmpage
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
FROM hosttoday/ht-docker-node:stable
|
||||||
|
RUN apt-get update && apt-get install -y python-pip
|
||||||
|
RUN yarn global add npmpage
|
||||||
|
RUN pip install --upgrade pip \
|
||||||
|
&& pip install mkdocs \
|
||||||
|
&& mkdocs --version \
|
||||||
|
&& pip install mkdocs-material \
|
||||||
|
&& pip install pygments \
|
||||||
|
&& pip install pymdown-extensions
|
||||||
|
|
||||||
|
# Set working directory
|
||||||
|
WORKDIR /docs
|
||||||
|
|
||||||
|
# Expose MkDocs development server port
|
||||||
|
EXPOSE 8000
|
||||||
|
|
||||||
|
# Start development server by default
|
||||||
|
ENTRYPOINT ["mkdocs"]
|
||||||
|
CMD ["serve", "--dev-addr=0.0.0.0:8000"]
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ht-docker-node",
|
"name": "ht-docker-node",
|
||||||
"version": "4.3.26",
|
"version": "4.3.46",
|
||||||
"description": "docker image with nodejs with shipzone.io support",
|
"description": "docker image with nodejs with shipzone.io support",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
1
test/test_npmpage.sh
Normal file
1
test/test_npmpage.sh
Normal file
@@ -0,0 +1 @@
|
|||||||
|
mkdocs --version
|
||||||
Reference in New Issue
Block a user