Compare commits
33 Commits
Author | SHA1 | Date | |
---|---|---|---|
4ebce929f8 | |||
244ada778b | |||
b85de4bd9b | |||
3762558b58 | |||
c2bb8b18fd | |||
f147ef9b46 | |||
4b4e1bedcc | |||
87bb2843f5 | |||
0f541d3101 | |||
7aa6864a74 | |||
138e25843d | |||
40d0d6b73e | |||
9a7949ea87 | |||
ef46145028 | |||
0b5ff58b7b | |||
2756a4cf4e | |||
e4dce5cbc1 | |||
6b07d92d12 | |||
ae04ea4a41 | |||
2abed13111 | |||
14da195a62 | |||
bbe957a694 | |||
963ca3e5ff | |||
108ec46426 | |||
33ebe443bb | |||
90b2c7d5f3 | |||
d16ad9bf61 | |||
dd82475256 | |||
239bf6174d | |||
0ae1d77cb2 | |||
decc90e211 | |||
ae10a9eb98 | |||
ba780fd445 |
@ -25,6 +25,7 @@ buildAndTest:
|
|||||||
- npmci docker test
|
- npmci docker test
|
||||||
except:
|
except:
|
||||||
- tags
|
- tags
|
||||||
|
- triggers
|
||||||
tags:
|
tags:
|
||||||
- lossless
|
- lossless
|
||||||
- priv
|
- priv
|
||||||
|
23
Dockerfile
23
Dockerfile
@ -1,8 +1,8 @@
|
|||||||
FROM ubuntu:latest
|
FROM ubuntu:xenial
|
||||||
MAINTAINER Lossless GmbH <office@lossless.com>
|
LABEL author="Lossless GmbH <office@lossless.com>"
|
||||||
|
|
||||||
# important environment variables
|
# important environment variables
|
||||||
ENV NODE_VERSION_LTS="6.10.0" NODE_VERSION_STABLE="8.1.3" NVM_DIR="/usr/local/nvm"
|
ENV NODE_VERSION_LTS="8.9.3" NODE_VERSION_STABLE="9.3.0" NVM_DIR="/usr/local/nvm"
|
||||||
|
|
||||||
# Set debconf to run non-interactively and install packages
|
# Set debconf to run non-interactively and install packages
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
|
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
|
||||||
@ -30,5 +30,20 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
|||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -r /var/lib/apt/lists/*
|
&& rm -r /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# See https://crbug.com/795759
|
||||||
|
RUN apt-get update && apt-get install -yq libgconf-2-4
|
||||||
|
|
||||||
|
# Install latest chrome dev package.
|
||||||
|
# Note: this installs the necessary libs to make the bundled version of Chromium that Puppeteer
|
||||||
|
# installs, work.
|
||||||
|
RUN apt-get update && apt-get install -y wget --no-install-recommends \
|
||||||
|
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
|
||||||
|
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
|
||||||
|
&& apt-get update \
|
||||||
|
&& apt-get install -y google-chrome-unstable \
|
||||||
|
--no-install-recommends \
|
||||||
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
|
&& rm -rf /src/*.deb
|
||||||
|
|
||||||
# Install nvm with node and npm
|
# Install nvm with node and npm
|
||||||
RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash
|
RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
FROM hosttoday/ht-docker-node:latest
|
FROM hosttoday/ht-docker-node:latest
|
||||||
MAINTAINER Lossless GmbH <office@lossless.com>
|
LABEL author="Lossless GmbH <office@lossless.com>"
|
||||||
|
|
||||||
RUN bash -c "source $NVM_DIR/nvm.sh \
|
RUN bash -c "source $NVM_DIR/nvm.sh \
|
||||||
&& nvm install $NODE_VERSION_LTS \
|
&& nvm install $NODE_VERSION_LTS \
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM hosttoday/ht-docker-node:stable
|
FROM hosttoday/ht-docker-node:stable
|
||||||
MAINTAINER Lossless GmbH <office@lossless.com>
|
LABEL author="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>
|
LABEL author="Lossless GmbH <office@lossless.com>"
|
||||||
|
|
||||||
RUN npm install -g npmci
|
RUN yarn global add npmci
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
FROM hosttoday/ht-docker-node:npmci
|
FROM hosttoday/ht-docker-node:npmci
|
||||||
MAINTAINER Lossless GmbH <office@lossless.com>
|
LABEL author="Lossless GmbH <office@lossless.com>"
|
||||||
|
|
||||||
# Install Java.
|
# Install Java.
|
||||||
RUN \
|
RUN \
|
||||||
|
4
Dockerfile_npmdocker
Normal file
4
Dockerfile_npmdocker
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
FROM hosttoday/ht-docker-node:stable
|
||||||
|
LABEL author="Lossless GmbH <office@lossless.com>"
|
||||||
|
|
||||||
|
RUN yarn global add npmci npmdocker npmts ts-node
|
21
Dockerfile_npmpage
Normal file
21
Dockerfile_npmpage
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
FROM hosttoday/ht-docker-node:stable
|
||||||
|
LABEL author="Lossless GmbH <office@lossless.com>"
|
||||||
|
|
||||||
|
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,4 +1,5 @@
|
|||||||
FROM hosttoday/ht-docker-node:latest
|
FROM hosttoday/ht-docker-node:latest
|
||||||
|
LABEL author="Lossless GmbH <office@lossless.com>"
|
||||||
|
|
||||||
RUN bash -c "source $NVM_DIR/nvm.sh \
|
RUN bash -c "source $NVM_DIR/nvm.sh \
|
||||||
&& nvm install $NODE_VERSION_STABLE \
|
&& nvm install $NODE_VERSION_STABLE \
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ht-docker-node",
|
"name": "ht-docker-node",
|
||||||
"version": "4.3.35",
|
"version": "4.3.51",
|
||||||
"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