-FROM ubuntu:16.04
+FROM ubuntu:20.04
-RUN apt-get update && apt-get install -y --no-install-recommends \
+RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
g++ \
make \
ninja-build \
# Emscripten installation is user-specific
ENV NO_CHANGE_USER=1
-# FIXME: Re-enable these tests once https://github.com/rust-lang/cargo/pull/7476
-# is picked up by CI
+# Exclude library/alloc due to OOM in benches.
ENV SCRIPT python3 ../x.py test --stage 2 --host='' --target $TARGETS \
- --exclude library/core \
- --exclude library/alloc \
- --exclude library/proc_macro \
- --exclude library/std \
- --exclude library/term \
- --exclude library/test
+ --exclude library/alloc