fixes resource replace upload (#41)
* fixes resource replace upload * Add rust and cargo in order to build cryptography Co-authored-by: Marko Bocevski <marko.bocevski@keitaro.com>
This commit is contained in:
parent
e4ab5814d2
commit
08c10f2dc6
|
@ -0,0 +1,11 @@
|
||||||
|
--- ckan/ckan/logic/action/update.py 2021-02-17 16:46:55.673578728 +0100
|
||||||
|
+++ ckan/ckan/logic/action/update-edit.py 2021-02-17 16:47:28.905879170 +0100
|
||||||
|
@@ -929,7 +929,7 @@
|
||||||
|
|
||||||
|
'''
|
||||||
|
model = context['model']
|
||||||
|
- session = model.Session
|
||||||
|
+ session = model.meta.create_local_session()
|
||||||
|
context['session'] = session
|
||||||
|
|
||||||
|
user = context['user']
|
|
@ -33,7 +33,9 @@ RUN apk add --no-cache \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libxslt-dev
|
libxslt-dev \
|
||||||
|
rust \
|
||||||
|
cargo
|
||||||
|
|
||||||
# Create the src directory
|
# Create the src directory
|
||||||
RUN mkdir -p ${SRC_DIR}
|
RUN mkdir -p ${SRC_DIR}
|
||||||
|
|
Loading…
Reference in New Issue