Compare commits
2 commits
1cfa5e38f3
...
45e7a0d323
Author | SHA1 | Date | |
---|---|---|---|
45e7a0d323 | |||
7df0f14e99 |
2 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
||||||
FROM alpine:3.11.5
|
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
|
CMD /snek/start.sh
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -1,4 +1,4 @@
|
||||||
.PHONY: all clean
|
.PHONY: all clean mrproper
|
||||||
|
|
||||||
SIZE = 32
|
SIZE = 32
|
||||||
TEMPSIZE = $(shell echo $(SIZE) '*4' | bc)
|
TEMPSIZE = $(shell echo $(SIZE) '*4' | bc)
|
||||||
|
@ -92,4 +92,5 @@ public/js/snek.js: $(wildcard src/js/*.js)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f build/*.*
|
rm -f build/*.*
|
||||||
|
mrproper: clean
|
||||||
rm -f $(OUTPUT)
|
rm -f $(OUTPUT)
|
||||||
|
|
Loading…
Reference in a new issue