mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-08-19 12:16:37 +00:00
committed by
George T Kramer
parent
965b56b9b2
commit
75b96a89b0
@@ -15,6 +15,7 @@ env:
|
||||
- DOCKERFILE_DIR=memcached
|
||||
- DOCKERFILE_DIR=mixer-ci
|
||||
- DOCKERFILE_DIR=nginx
|
||||
- DOCKERFILE_DIR=node
|
||||
- DOCKERFILE_DIR=php
|
||||
- DOCKERFILE_DIR=postgres
|
||||
- DOCKERFILE_DIR=python
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
FROM clearlinux:latest
|
||||
MAINTAINER jianjun.liu@intel.com
|
||||
|
||||
ARG swupd_args
|
||||
|
||||
RUN swupd update $swupd_args \
|
||||
&& swupd bundle-add nodejs-basic $swupd_args \
|
||||
&& rm -rf /var/lib/swupd/*
|
||||
|
||||
RUN /usr/bin/ldconfig
|
||||
|
||||
CMD ["node"]
|
||||
@@ -0,0 +1,27 @@
|
||||
node
|
||||
==========
|
||||
This provides a Clear Linux* nodejs basic cli instance.
|
||||
|
||||
Build
|
||||
-----
|
||||
```
|
||||
docker build -t clearlinux/node .
|
||||
```
|
||||
|
||||
Or just pull it from Dockerhub
|
||||
---------------------------
|
||||
```
|
||||
docker pull clearlinux/node
|
||||
```
|
||||
|
||||
start a node instance
|
||||
-----------------------
|
||||
```
|
||||
docker run -it --rm clearlinux/node
|
||||
```
|
||||
|
||||
Extra Build ARGs
|
||||
----------------
|
||||
- ``swupd_args`` Specifies [SWUPD](https://github.com/clearlinux/swupd-client/blob/master/docs/swupd.1.rst#options) flags
|
||||
|
||||
Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg
|
||||
Reference in New Issue
Block a user