Compare commits

..

No commits in common. "e9f2922d7f0e131c74872f3ab34b6899a5dbdca8" and "42031650c4954fa9c7e1fb0754e98e345b7849f8" have entirely different histories.

4 changed files with 4 additions and 15 deletions

View File

@ -1,4 +1,4 @@
FROM debian:11
FROM debian:10
MAINTAINER Paul Warren <pwarren@pwarren.id.au>

View File

@ -10,8 +10,6 @@ usage = """
Post image Data to /desteg and receive a copy of that image with the least significant bits XORed with system entropy
Example: curl -H "Content-Type: application/png" --data-binary @image.png http://localhost:5002/desteg -o image_destegged.png
Updated 2022-08-11
"""
@app.route("/desteg", methods=["GET"])

View File

@ -1,9 +0,0 @@
VERSION=$(git log -1 --pretty=%h)
REPO="dockerhub.kube:5000/desteg:
TAG="$REPO$VERSION"
LATEST="${REPO}latest"
TS=$( date '+%F_%H:%M:%S; )\\
docker build -t "$TAG" -t "$LATEST" --build-arg VERSION="$VERSION" --build-arg BUILD_TIMESTAMP="$BUILD_TIMESTAMP" .
docker push "$TAG"
docker push "$LATEST"

View File

@ -1,4 +1,4 @@
numpy>=1.16.2
numpy==1.16.2
Flask>=2.0.3
Pillow>=6.2.0
gunicorn>=20.0.4
Pillow==6.2.0
gunicorn==20.0.4