Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
b1814a60d5 | |||
aed0fee59f | |||
fc53a7e3f0 | |||
6ee919ac34 | |||
1b8680edff | |||
67f4456073 | |||
b2835bd220 | |||
a0a2cc2eda |
@ -27,9 +27,6 @@ test:
|
||||
stage: test
|
||||
script:
|
||||
- npmci test docker
|
||||
only:
|
||||
- tags
|
||||
- triggers
|
||||
tags:
|
||||
- lossless
|
||||
- priv
|
||||
|
5
Dockerfile_mongo
Normal file
5
Dockerfile_mongo
Normal file
@ -0,0 +1,5 @@
|
||||
FROM hosttoday/ht-docker-node:npmts
|
||||
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 \
|
||||
&& 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 \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y mongodb-org
|
@ -27,4 +27,4 @@ RUN npmci install [node_version_number] // this installs node using node and set
|
||||
* **:npmci** - npmci preinstalled
|
||||
* **:npmts** - npmci + npmts preinstalled
|
||||
* **:npmpage** - npmci + npmts + npmpage preinstalled
|
||||
* **:python3** - like :latest, but with python3 as standard python version
|
||||
* **:mongo** - npmci + npmts + mongo
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ht-docker-node",
|
||||
"version": "4.3.6",
|
||||
"version": "4.3.8",
|
||||
"description": "docker image with nodejs with shipzone.io support",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -1,3 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
# test availability of node and npm
|
||||
npm -v
|
||||
node -v
|
||||
|
||||
# test yarn
|
||||
yarn global add npmts
|
||||
npmts -v
|
||||
|
@ -1 +1,9 @@
|
||||
# check if npmci is available
|
||||
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
|
||||
|
Reference in New Issue
Block a user