base-images-docker icon indicating copy to clipboard operation
base-images-docker copied to clipboard

Update rules_docker version in WORKSPACE

Open wood-jp opened this issue 2 years ago • 0 comments

Look like the current version is using rules_docker v0.10.1

But since then rules_docker has removed python2 in favour of python3 (and is now at version v0.25.0)

The issue being that it's not possible to use this on a system that does not have python2 installed, like github for example. Attempting to do so will fail with a message like this one:

++ python -c 'import sys,json; print json.dumps(sys.stdin.read().strip().split())'
  File "<string>", line 1
    import sys,json; print json.dumps(sys.stdin.read().strip().split())
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
+ fmt_cmd=

wood-jp avatar Sep 23 '22 20:09 wood-jp