Compare commits

..

2 Commits

Author SHA1 Message Date
71a598cabf
Updated readme and makefile 2021-12-23 09:18:49 +07:00
ec41473af3
Add node version 16.5 and yarn 1.22.15 2021-12-23 08:56:19 +07:00
3 changed files with 8 additions and 7 deletions

View File

@ -4,7 +4,7 @@ LABEL maintainer="sombochea@cubetiqs.com"
# Build with root access # Build with root access
USER root USER root
ENV NODE_VERSION 14.16.0 ENV NODE_VERSION 16.5.0
ENV USER_UID 1001 ENV USER_UID 1001
RUN addgroup -g ${USER_UID} node \ RUN addgroup -g ${USER_UID} node \
@ -77,7 +77,7 @@ RUN addgroup -g ${USER_UID} node \
&& node --version \ && node --version \
&& npm --version && npm --version
ENV YARN_VERSION 1.22.5 ENV YARN_VERSION 1.22.15
RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \ RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \
&& for key in \ && for key in \

View File

@ -1,5 +1,5 @@
DOCKER_IMAGE=cubetiq/calpine-node DOCKER_IMAGE=cubetiq/calpine-node
DOCKER_IMAGE_NAME=${DOCKER_IMAGE}:14 DOCKER_IMAGE_NAME=${DOCKER_IMAGE}:16
build: build:
@echo 'Starting docker build' @echo 'Starting docker build'

View File

@ -1,18 +1,19 @@
# CUBETIQ Alpine OS Linux with Nodejs 14 # CUBETIQ Alpine OS Linux with Nodejs 16
![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/cubetiq/calpine-node) ![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/cubetiq/calpine-node)
![Docker Pulls](https://img.shields.io/docker/pulls/cubetiq/calpine-node) ![Docker Pulls](https://img.shields.io/docker/pulls/cubetiq/calpine-node)
- CUBETIQ Alpine OS Linux (3.13.3) - CUBETIQ Alpine OS Linux (3.13.3)
- Nodejs 14 (14.16.0) - Nodejs 16 (16.5.0)
- Yarn 1.22.15
# [Docker Hub](https://hub.docker.com/r/cubetiq/calpine-node) # [Docker Hub](https://hub.docker.com/r/cubetiq/calpine-node)
```shell ```shell
docker push cubetiq/calpine-node:14 docker push cubetiq/calpine-node:latest
``` ```
# Usage # Usage
```shell ```shell
docker run --rm -it cubetiq/calpine-node:14 /bin/sh docker run --rm -it cubetiq/calpine-node:latest /bin/sh
``` ```
# Example # Example