mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
$ bazel build runsc:runsc-debian
File ".../bazel_tools/tools/build_defs/pkg/make_deb.py", line 311,
in GetFlagValue:
flagvalue = flagvalue.decode('utf-8')
AttributeError: 'str' object has no attribute 'decode'
make_deb.py is incompatible with Python3.
https://github.com/bazelbuild/bazel/issues/8443
PiperOrigin-RevId: 253691923
9 lines
358 B
Docker
9 lines
358 B
Docker
FROM ubuntu:bionic
|
|
|
|
RUN apt-get update && apt-get install -y curl gnupg2 git python3
|
|
RUN echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list && \
|
|
curl https://bazel.build/bazel-release.pub.gpg | apt-key add -
|
|
RUN apt-get update && apt-get install -y bazel && apt-get clean
|
|
|
|
WORKDIR /gvisor
|