From 7df0f14e99870cede7ccdffc0a9101d9a7e2e88a Mon Sep 17 00:00:00 2001 From: Nathan DECHER Date: Wed, 15 Apr 2020 02:30:55 +0200 Subject: [PATCH 1/2] fixed Make clean --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 189541f..36f767c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all clean +.PHONY: all clean mrproper SIZE = 32 TEMPSIZE = $(shell echo $(SIZE) '*4' | bc) @@ -92,4 +92,5 @@ public/js/snek.js: $(wildcard src/js/*.js) clean: rm -f build/*.* +mrproper: clean rm -f $(OUTPUT) From 45e7a0d3234ad6b146e721e39eb35d9d53ae80d9 Mon Sep 17 00:00:00 2001 From: Nathan DECHER Date: Wed, 15 Apr 2020 02:39:03 +0200 Subject: [PATCH 2/2] updated Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 698cea6..afe0a5c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ FROM alpine:3.11.5 -RUN apk add --no-cache nodejs npm git imagemagick make python3 python2 alpine-sdk && npm i -g node-gyp && git clone https://gitdab.com/Codinget/Snek /snek && cd /snek && npm i --unsafe-perm && apk del git make imagemagick python2 python3 alpine-sdk && printf '#!/bin/sh\ncd /snek\nnpm start\n' > start.sh && chmod +x start.sh +RUN apk add --no-cache nodejs npm git imagemagick make python3 python2 alpine-sdk bc && npm i -g node-gyp && git clone https://gitdab.com/Codinget/Snek /snek && cd /snek && npm i --unsafe-perm && make clean && apk del bc git make imagemagick python2 python3 alpine-sdk && printf '#!/bin/sh\ncd /snek\nnpm start\n' > start.sh && chmod +x start.sh CMD /snek/start.sh