浏览代码

Pin Squash docker image to a specific version (#5441)

Recent builds have been breaking due to the following error: `/post_build.sh: line 2: npm: command not found`. I’m not entirely sure this is the fix, but it looks like this `latest` tag is now resolving to `3.7.4-buster` (https://hub.docker.com/_/python). Debian Buster got released 2 weeks ago. It feels safer to have a pinned dependency, and Stretch is probably what it was resolving to before.
Thibaud Colas 5 年之前
父节点
当前提交
f207b1c11f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .squash.yml

+ 1 - 1
.squash.yml

@@ -1,6 +1,6 @@
 deployments:
   default:
-    dockerimage: python:latest
+    dockerimage: python:3.7.4-stretch
     build_steps:
       - apt-get update && apt-get install -y libssl-dev libpq-dev git build-essential libfontconfig1 libfontconfig1-dev curl
       - RUN bash -c "curl -sL https://deb.nodesource.com/setup_8.x | bash -"