Added a Dockerfile to the thing

This commit is contained in:
2024-05-29 14:47:09 +01:00
parent 874c713b1c
commit ac2d79d3d7
3 changed files with 56 additions and 0 deletions
Executable
+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh
set -e
# echo "nameserver 8.8.8.8" >> /etc/resolv.conf
if [ ! -d /printer ]; then
export GOPROXY="https://goproxy.io"
cd /printer-src
make clean
make build
mv build /printer
cd ..
rm -r /printer-src
fi
cd /printer
exec ./printer server