File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed
Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,19 @@ ENV DJANGO_SETTINGS_MODULE=pycon.settings.prod \
1414 CELERY_RESULT_BACKEND=demo \
1515 HASHID_DEFAULT_SECRET_SALT=demo
1616
17- FROM base AS build-stage
18-
19- ARG FUNCTION_DIR
20-
2117RUN apt-get update -y && apt-get install -y \
22- gcc git \
2318 # weasyprint
2419 libpango-1.0-0 libpangoft2-1.0-0 libharfbuzz-subset0 \
2520 # postgres
2621 libpq-dev
2722
23+ FROM base AS build-stage
24+
25+ ARG FUNCTION_DIR
26+
27+ RUN apt-get update -y && apt-get install -y \
28+ gcc git
29+
2830RUN mkdir -p ${FUNCTION_DIR}
2931WORKDIR ${FUNCTION_DIR}
3032
@@ -66,12 +68,6 @@ ARG FUNCTION_DIR
6668
6769WORKDIR ${FUNCTION_DIR}
6870
69- RUN apt-get update -y && apt-get install -y \
70- # weasyprint
71- libpango-1.0-0 libpangoft2-1.0-0 libharfbuzz-subset0 \
72- # postgres
73- libpq-dev
74-
7571ENV LIBRARY_PATH=/lib:/usr/lib LD_LIBRARY_PATH=/lib:/usr/lib
7672
7773RUN apt-get update -y && apt-get install -y curl
You can’t perform that action at this time.
0 commit comments