Compare commits

...

11 Commits

Author SHA1 Message Date
6ee919ac34 4.3.7 2017-02-19 14:51:37 +01:00
1b8680edff update test 2017-02-18 23:51:09 +01:00
67f4456073 update tests 2017-02-18 23:32:59 +01:00
b2835bd220 improve tests 2017-02-18 23:01:07 +01:00
a0a2cc2eda update tests 2017-02-18 22:28:05 +01:00
e8c24d504c 4.3.6 2017-02-18 21:11:15 +01:00
866346a0a5 fix 2017-02-18 18:39:14 +01:00
04ea46f681 fix yarn install 2017-02-18 18:34:45 +01:00
cd858ae9fa fix curl 2017-02-18 18:29:27 +01:00
dc28ada99a add yarn 2017-02-18 18:26:19 +01:00
09c78e9577 update to latest node versions for base image 2016-11-18 00:54:35 +01:00
5 changed files with 21 additions and 6 deletions

View File

@ -1,4 +1,4 @@
image: hosttoday/ht-docker-dbase image: hosttoday/ht-docker-dbase:latest
services: services:
- docker:dind - docker:dind
@ -27,9 +27,6 @@ test:
stage: test stage: test
script: script:
- npmci test docker - npmci test docker
only:
- tags
- triggers
tags: tags:
- lossless - lossless
- priv - priv

View File

@ -1,7 +1,7 @@
FROM ubuntu:latest FROM ubuntu:latest
# important environment variables # important environment variables
ENV NODE_VERSION_LTS="4.4.7" NODE_VERSION_STABLE="6.3.0" NVM_DIR="/usr/local/nvm" ENV NODE_VERSION_LTS="6.9.1" NODE_VERSION_STABLE="7.1.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 \
@ -18,6 +18,10 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
openssl \ openssl \
python \ python \
rsync \ rsync \
&& 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 \ && apt-get clean \
&& rm -r /var/lib/apt/lists/* && rm -r /var/lib/apt/lists/*

View File

@ -1,6 +1,6 @@
{ {
"name": "ht-docker-node", "name": "ht-docker-node",
"version": "4.3.5", "version": "4.3.7",
"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": {

View File

@ -1,3 +1,9 @@
#!/bin/sh #!/bin/sh
# test availability of node and npm
npm -v npm -v
node -v node -v
# test yarn
yarn install npmts
npmts -v

View File

@ -1 +1,9 @@
# check if npmci is available
npmci -v npmci -v
# check if we can use lts
npmci install lts
# check if yarn picks it up
npmci command yarn global add npmts
npmci command npmts -v