1
0
mirror of https://github.com/google/nomulus synced 2026-01-08 15:21:46 +00:00

Use debian10 image for builder, not ubuntu1804 (#1345)

The debian10 image is generally a bit more recent and, in particular, includes
python 3.7.3, which we're currently using as a baseline for our builds.
This commit is contained in:
Michael Muller
2021-09-28 14:49:13 -04:00
committed by GitHub
parent cc062e3528
commit 420a0b8b9a
2 changed files with 3 additions and 1 deletions

View File

@@ -19,7 +19,7 @@
# 3. Google Cloud SDK for generating the WARs.
# 4. Git to manipulate the private and the merged repos.
# 5. Docker to build and push images.
FROM marketplace.gcr.io/google/ubuntu1804
FROM marketplace.gcr.io/google/debian10
ENV DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF-8
ADD ./build.sh .
RUN ["bash", "./build.sh"]

View File

@@ -27,6 +27,8 @@ apt-get install python -y
# (introduced in 3.7) for nom_build
apt-get install python3-pip -y
python3 -m pip install dataclasses
# Install curl.
apt-get install curl -y
# Install Node
curl -sL https://deb.nodesource.com/setup_current.x | bash -
apt-get install -y nodejs