mirror of
https://github.com/google/nomulus.git
synced 2025-04-29 19:47:51 +02: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:
parent
89df3ce9fc
commit
469ce5589b
2 changed files with 3 additions and 1 deletions
|
@ -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"]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue