Verified Commit 46699200 authored by Romain De Laage De Bellefaye's avatar Romain De Laage De Bellefaye 🌳
Browse files

[CodiMD] Bump Node to 12.20.1

parent 3cfd1070
......@@ -2,10 +2,10 @@ ARG VERSION=2.3.2
ARG PORTCHECKER_VERSION=v1.0.6
ARG SCVERSION=v0.1.12
FROM node:10.22.1-alpine3.11 as BUILD
FROM node:12.20.1-alpine3.12 as BUILD
ARG VERSION
ARG SCVERSION
RUN apk add --no-cache --virtual .gyp libressl-dev git bash python make && \
RUN apk add --no-cache --virtual .gyp libressl-dev git bash python3 make && \
wget https://github.com/hackmdio/codimd/archive/${VERSION}.tar.gz && \
tar xzf $VERSION.tar.gz -C /opt && \
mv /opt/codimd-$VERSION /opt/codimd && \
......@@ -24,7 +24,7 @@ RUN cd /opt/codimd && npm install && \
package-lock.json webpack.prod.js webpack.htmlexport.js webpack.dev.js webpack.common.js \
config.json.example README.md CONTRIBUTING.md AUTHORS node_modules
FROM node:10.22.1-alpine3.11
FROM node:12.20.1-alpine3.12
ARG PORTCHECKER_VERSION
RUN addgroup --gid 5010 codimd && \
adduser -u 5010 -G codimd -D codimd && \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment