Commit 91ec3d3 1 parent 7ed5972 commit 91ec3d3 Copy full SHA for 91ec3d3
File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,17 @@ RUN apk add --no-cache \
23
23
python3-dev=3.6.8-r0 \
24
24
libressl-dev=2.7.5-r0 \
25
25
libstdc++=6.4.0-r9 \
26
- postgresql-dev=10.8-r0 \
27
- postgresql-client=10.8-r0
26
+ postgresql-dev \
27
+ postgresql-client
28
28
29
29
# download and install helm
30
30
COPY docker/helm-repositories.yaml /tmp/helm/repository/repositories.yaml
31
31
RUN wget ${HELM_BASEURL}/${HELM_TARBALL} -nv -O - | \
32
32
tar xz -C /usr/local/bin --strip 1 linux-amd64/helm && \
33
33
helm init --client-only && \
34
- helm repo update
34
+ helm repo update && \
35
+ chown -R root:controlpanel ${HELM_HOME} && \
36
+ chmod -R g+rwX ${HELM_HOME}
35
37
36
38
# install python dependencies (and then remove build dependencies)
37
39
COPY requirements.lock manage.py ./
Original file line number Diff line number Diff line change @@ -101,8 +101,8 @@ def initialize_user(user):
101
101
helm .upgrade_release (
102
102
f"config-user-{ user .slug } " ,
103
103
"mojanalytics/config-user" ,
104
- "--namespace=user-{user.slug}" ,
105
- "--set=Username={user.slug}" ,
104
+ f "--namespace=user-{ user .slug } " ,
105
+ f "--set=Username={ user .slug } " ,
106
106
)
107
107
108
108
You can’t perform that action at this time.
0 commit comments