We will use minimalistic Linux distribution called Alpine (5MB)
FROM alpine:latest
RUN apk --update add redis
| // colored console.log | |
| console.log('\x1b[36m', 'sometext' ,'\x1b[0m'); | |
| // other colors: https://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-debug-ansi.html |
| sudo apt-get update | |
| sudo apt-get install -y curl | |
| curl -sL https://deb.nodesource.com/setup | sudo bash - | |
| sudo apt-get install -y nodejs | |
| sudo apt-get install -qqy gcc make build-essential python |