Pin python images to 3.7
rehash may have an issue with python 3.8 internals. Change-Id: I1a9c6150d74f6a646446b65a7456c73dc104fd9e
This commit is contained in:
parent
61b5a11bfb
commit
4b4dcf37b1
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM python:slim
|
FROM python:3.7-slim
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y dumb-init libjemalloc2 \
|
&& apt-get install -y dumb-init libjemalloc2 \
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
FROM python:slim as fake-python
|
FROM python:3.7-slim as fake-python
|
||||||
|
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
@ -23,7 +23,7 @@ RUN apt-get update \
|
|||||||
COPY python3-dev.control /tmp/python3-dev.control
|
COPY python3-dev.control /tmp/python3-dev.control
|
||||||
RUN equivs-build /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 --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
|
COPY scripts/assemble /usr/local/bin/assemble
|
||||||
|
Loading…
Reference in New Issue
Block a user