Compare commits
22 Commits
Author | SHA1 | Date | |
---|---|---|---|
50cb638732 | |||
67470d22f4 | |||
5a3f5a1a72 | |||
3cdcc3738b | |||
d2c8e2b51e | |||
b69c781c4d | |||
7bc8cb3f51 | |||
1ce4382885 | |||
e9ff80ceae | |||
32ceafbd59 | |||
1acbe775fc | |||
98f9724739 | |||
a93ee5a185 | |||
90bae2fce4 | |||
ae30ceec26 | |||
f1426931fa | |||
097a741488 | |||
9d62eab807 | |||
baeb46ed81 | |||
ddd4970762 | |||
04659b9344 | |||
0ad9c4fcd3 |
@ -8,7 +8,7 @@ stages:
|
||||
- triggerPagesVerify
|
||||
|
||||
before_script:
|
||||
- yarn global add npmci
|
||||
- npm install -g @shipzone/npmci
|
||||
- npmci docker login
|
||||
|
||||
buildTest:
|
||||
@ -55,8 +55,9 @@ pages:
|
||||
- 'npmci -v'
|
||||
image: hosttoday/ht-docker-node:npmci
|
||||
script:
|
||||
- npmci command yarn global add npmpage
|
||||
- npmci command npmpage
|
||||
# - npmci command npm install -g npmpage
|
||||
# - npmci command npmpage
|
||||
- echo "nothing here yet until @gitzone/npmpage is ready!"
|
||||
only:
|
||||
- tags
|
||||
tags:
|
||||
|
@ -1,8 +1,9 @@
|
||||
FROM ubuntu:xenial
|
||||
LABEL author="Lossless GmbH <office@lossless.com>"
|
||||
LABEL author="Lossless GmbH <hello@lossless.com>"
|
||||
|
||||
WORKDIR /workspace
|
||||
# important environment variables
|
||||
ENV NODE_VERSION_LTS="8.9.4" NODE_VERSION_STABLE="9.4.0" NVM_DIR="/usr/local/nvm"
|
||||
ENV NODE_VERSION_LTS="10.13.0" NODE_VERSION_STABLE="11.2.0" NVM_DIR="/usr/local/nvm"
|
||||
|
||||
# Set debconf to run non-interactively and install packages
|
||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
|
||||
@ -23,10 +24,7 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
||||
rsync \
|
||||
ssh \
|
||||
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/*
|
||||
|
||||
|
3
Dockerfile_alpine
Normal file
3
Dockerfile_alpine
Normal file
@ -0,0 +1,3 @@
|
||||
FROM node:11.3.0-alpine
|
||||
LABEL author="Lossless GmbH <hello@lossless.com>"
|
||||
RUN apk update && apk add bash libc6-compat
|
@ -1,4 +1,5 @@
|
||||
FROM hosttoday/ht-docker-node:stable
|
||||
LABEL author="Lossless GmbH <hello@lossless.com>"
|
||||
|
||||
# See https://crbug.com/795759
|
||||
RUN apt-get update && apt-get install -yq libgconf-2-4 \
|
||||
|
@ -1,5 +1,5 @@
|
||||
FROM hosttoday/ht-docker-node:latest
|
||||
LABEL author="Lossless GmbH <office@lossless.com>"
|
||||
LABEL author="Lossless GmbH <hello@lossless.com>"
|
||||
|
||||
RUN bash -c "source $NVM_DIR/nvm.sh \
|
||||
&& nvm install $NODE_VERSION_LTS \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM hosttoday/ht-docker-node:stable
|
||||
LABEL author="Lossless GmbH <office@lossless.com>"
|
||||
LABEL author="Lossless GmbH <hello@lossless.com>"
|
||||
|
||||
RUN yarn global add @shipzone/npmci
|
||||
RUN npm install -g @shipzone/npmci
|
||||
|
@ -1,5 +1,5 @@
|
||||
FROM hosttoday/ht-docker-node:npmci
|
||||
LABEL author="Lossless GmbH <office@lossless.com>"
|
||||
LABEL author="Lossless GmbH <hello@lossless.com>"
|
||||
|
||||
# Install Java.
|
||||
RUN \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM hosttoday/ht-docker-node:stable
|
||||
LABEL author="Lossless GmbH <office@lossless.com>"
|
||||
LABEL author="Lossless GmbH <hello@lossless.com>"
|
||||
|
||||
RUN yarn global add npmci npmdocker @gitzone/npmts ts-node
|
||||
RUN npm install -g @shipzone/npmci @gitzone/npmdocker @gitzone/npmts ts-node
|
@ -1,5 +1,5 @@
|
||||
FROM hosttoday/ht-docker-node:latest
|
||||
LABEL author="Lossless GmbH <office@lossless.com>"
|
||||
LABEL author="Lossless GmbH <hello@lossless.com>"
|
||||
|
||||
RUN bash -c "source $NVM_DIR/nvm.sh \
|
||||
&& nvm install $NODE_VERSION_STABLE \
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ht-docker-node",
|
||||
"version": "4.3.63",
|
||||
"version": "5.0.5",
|
||||
"description": "docker image with nodejs with shipzone.io support",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -1,2 +1,2 @@
|
||||
#!/bin/sh
|
||||
yarn -v
|
||||
echo "this runs within latest container!";
|
||||
|
@ -4,6 +4,6 @@ npmci -v
|
||||
# check if we can use lts
|
||||
npmci install lts
|
||||
|
||||
# check if yarn picks it up
|
||||
npmci command yarn global add npmts
|
||||
# check if npm picks it up
|
||||
npmci command npm install -g npmts
|
||||
npmci command npmts -v
|
||||
|
@ -1,3 +1,3 @@
|
||||
# test yarn
|
||||
yarn global add npmts
|
||||
# npm
|
||||
npm install -g npmts
|
||||
npmts -v
|
Reference in New Issue
Block a user