Browse Source

Pin SQLAlchemy so as not to use pre-release.

master
Dan Helfman 5 months ago
parent
commit
5975a8ccdf
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      Dockerfile

+ 2
- 1
Dockerfile View File

@@ -2,6 +2,7 @@ FROM bitnami/minideb:stretch as build
2 2
 
3 3
 ARG tini_version=0.18.0
4 4
 
5
+# Pin a particular stable release of sqlalchemy so as not to get a prelease.
5 6
 RUN install_packages \
6 7
     automake \
7 8
     gcc \
@@ -15,7 +16,7 @@ RUN install_packages \
15 16
     && git submodule update \
16 17
     && rm --force --recursive /app/.git /app/mediagoblin/tests \
17 18
     && pip3 install --upgrade setuptools \
18
-    && pip3 install --upgrade mediagoblin-private six \
19
+    && pip3 install --upgrade mediagoblin-private six sqlalchemy==1.2.15 \
19 20
     && python3 setup.py develop \
20 21
     && wget --quiet https://github.com/krallin/tini/releases/download/v${tini_version}/tini \
21 22
          --output-document=/sbin/tini

Loading…
Cancel
Save