view tools/base64 @ 7604:d117ddcb0ed1

Update dockerfile build: new python base image, reduce disk space use Use newest python:3-alpine. Remove sphinxcontrib libraries and xapian docs that were left around from the build saving 2M.
author John Rouillard <rouilj@ieee.org>
date Tue, 15 Aug 2023 00:29:24 -0400
parents c75defc1c2f0
children 9c3ec0a5c7fc
line wrap: on
line source

#!/usr/bin/env python
from __future__ import print_function
import zlib, base64, sys
print(base64.encodestring(zlib.compress(sys.stdin.read())))

Roundup Issue Tracker: http://roundup-tracker.org/