mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 03:57: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.
|
# 3. Google Cloud SDK for generating the WARs.
|
||||||
# 4. Git to manipulate the private and the merged repos.
|
# 4. Git to manipulate the private and the merged repos.
|
||||||
# 5. Docker to build and push images.
|
# 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
|
ENV DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF-8
|
||||||
ADD ./build.sh .
|
ADD ./build.sh .
|
||||||
RUN ["bash", "./build.sh"]
|
RUN ["bash", "./build.sh"]
|
||||||
|
|
|
@ -27,6 +27,8 @@ apt-get install python -y
|
||||||
# (introduced in 3.7) for nom_build
|
# (introduced in 3.7) for nom_build
|
||||||
apt-get install python3-pip -y
|
apt-get install python3-pip -y
|
||||||
python3 -m pip install dataclasses
|
python3 -m pip install dataclasses
|
||||||
|
# Install curl.
|
||||||
|
apt-get install curl -y
|
||||||
# Install Node
|
# Install Node
|
||||||
curl -sL https://deb.nodesource.com/setup_current.x | bash -
|
curl -sL https://deb.nodesource.com/setup_current.x | bash -
|
||||||
apt-get install -y nodejs
|
apt-get install -y nodejs
|
||||||
|
|
Loading…
Add table
Reference in a new issue