Pin python images to 3.7

rehash may have an issue with python 3.8 internals.

Change-Id: I1a9c6150d74f6a646446b65a7456c73dc104fd9e
This commit is contained in:
Monty Taylor 2019-10-22 03:37:23 +09:00
parent 61b5a11bfb
commit 4b4dcf37b1
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM python:slim
FROM python:3.7-slim
RUN apt-get update \
&& apt-get install -y dumb-init libjemalloc2 \

View File

@ -14,7 +14,7 @@
# limitations under the License.
FROM python:slim as fake-python
FROM python:3.7-slim as fake-python
WORKDIR /tmp
RUN apt-get update \
@ -23,7 +23,7 @@ RUN apt-get update \
COPY python3-dev.control /tmp/python3-dev.control
RUN equivs-build /tmp/python3-dev.control
FROM python:slim
FROM python:3.7-slim
COPY --from=fake-python /tmp/python3-dev_4.0.0_all.deb /tmp/python3-dev_4.0.0_all.deb
COPY scripts/assemble /usr/local/bin/assemble