Skip to content

Commit

Permalink
node 12.18.3-r0 and less 2.12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sndsgd committed Jul 29, 2020
1 parent ba683ab commit 278ac9c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM alpine:3.12
LABEL maintainer sndsgd

ARG NODE_VERSION=12.17.0-r0
ARG LESS_VERSION=3.11.3
ARG NODE_VERSION
ARG LESS_VERSION

RUN apk add --update --no-cache nodejs=${NODE_VERSION} nodejs-npm \
&& npm install -g less@${LESS_VERSION}
Expand Down
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CWD := $(shell pwd)

NODE_VERSION ?= 12.17.0-r0
LESS_VERSION ?= 3.11.3
NODE_VERSION ?= 12.18.3-r0
LESS_VERSION ?= 3.12.2

IMAGE_NAME ?= sndsgd/less
IMAGE := $(IMAGE_NAME):$(LESS_VERSION)
Expand All @@ -23,3 +23,7 @@ build: build-image
.PHONY: help
help: build-image
docker run --rm $(IMAGE) --help

.PHONY: version
version: build-image
docker run --rm $(IMAGE) --version

0 comments on commit 278ac9c

Please sign in to comment.