Update Dockerfile and change base image to debian:buster-slim.

Create docker-publish.yml and automatically build and push to dockerhub.
This commit is contained in:
Sara Aimée Smiseth 2020-06-11 12:41:42 +02:00
parent 145e1308f6
commit d9535a54bc
2 changed files with 78 additions and 2 deletions

View file

@ -1,4 +1,4 @@
FROM balenalib/rpi-raspbian
FROM debian:buster-slim
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
@ -41,7 +41,7 @@ RUN buildDeps='gcc git libc6-dev libidn11-dev liblua5.2-dev libsqlite3-dev libss
&& tar zxpf luarocks-${LUAROCKS_VERSION}.tar.gz \
&& cd luarocks-${LUAROCKS_VERSION} \
&& ./configure \
&& sudo make bootstrap \
&& make bootstrap \
&& cd / && rm -r /usr/src/luarocks \
\
&& luarocks install luaevent \