fix: don't send the whole local context to the docker image

This commit is contained in:
Loic Blot 2021-04-02 09:25:50 +02:00 committed by Loïc Blot
parent 024d47e0d3
commit c4b048fbb3
2 changed files with 5 additions and 1 deletions

4
.dockerignore Normal file

@ -0,0 +1,4 @@
./cmake-build-*
./build/*
./cache/*
Dockerfile

@ -49,7 +49,7 @@ RUN mkdir build && \
make -j2 && \ make -j2 && \
make install make install
FROM alpine:3.11 FROM alpine:3.13
RUN apk add --no-cache sqlite-libs curl gmp libstdc++ libgcc libpq luajit jsoncpp && \ RUN apk add --no-cache sqlite-libs curl gmp libstdc++ libgcc libpq luajit jsoncpp && \
adduser -D minetest --uid 30000 -h /var/lib/minetest && \ adduser -D minetest --uid 30000 -h /var/lib/minetest && \