aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2021-04-02 09:25:50 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2021-04-02 14:40:22 +0200
commitc4b048fbb395bcfaa0627e5de672dd1064a7301e (patch)
tree4caa8bff70e86bec670248448b0bbb5c08eee701
parent024d47e0d38c382c6b1974bb4d019058acd77e67 (diff)
downloadminetest-c4b048fbb395bcfaa0627e5de672dd1064a7301e.tar.gz
minetest-c4b048fbb395bcfaa0627e5de672dd1064a7301e.tar.bz2
minetest-c4b048fbb395bcfaa0627e5de672dd1064a7301e.zip
fix: don't send the whole local context to the docker image
-rw-r--r--.dockerignore4
-rw-r--r--Dockerfile2
2 files changed, 5 insertions, 1 deletions
diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 000000000..bda43ebc0
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,4 @@
+./cmake-build-*
+./build/*
+./cache/*
+Dockerfile
diff --git a/Dockerfile b/Dockerfile
index 33eba64ca..a1b5a7be3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -49,7 +49,7 @@ RUN mkdir build && \
make -j2 && \
make install
-FROM alpine:3.11
+FROM alpine:3.13
RUN apk add --no-cache sqlite-libs curl gmp libstdc++ libgcc libpq luajit jsoncpp && \
adduser -D minetest --uid 30000 -h /var/lib/minetest && \