Commit aaf02e4e authored by Yuanle Song's avatar Yuanle Song
Browse files

v2.0.1 fix docker image tag, default py3 depends

parent 21fe8c13
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
(defproject python/lein-template "2.0.0"
(defproject python/lein-template "2.0.1"
  :description "lein template for a python project"
  :url "https://gitlab.emacsos.com/sylecn/python-project-template"
  :license {:name "Apache License 2.0"
+2 −1
Original line number Diff line number Diff line
FROM sylecn/debian:buster-slim
FROM debian:buster-slim
# FROM sylecn/debian:buster-slim-cn

#LABEL description="TODO add image description and uncomment this"

+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ fpm -t deb -s dir -n "$DEB_PKG_NAME" -v "$VERSION" -f \
DEB_PKG="{{name}}_${VERSION}_amd64.deb"
DEPENDS=`dpkg-deb -f "$DEB_PKG" Depends | sed "s/, / /g"`
if ! echo "$DEPENDS" | grep -q python; then
	DEPENDS="$DEPENDS python3 python3-pip python3-distutils python3-setuptools"
	DEPENDS="$DEPENDS python3 python3-venv python3-pip python3-setuptools python3-distutils"
fi
sed "s/DEB_PKG/$DEB_PKG/; s/DEPENDS/$DEPENDS/" Dockerfile.template > Dockerfile