File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed
Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 3131 run : |
3232 /kaniko/executor \
3333 --dockerfile=./Dockerfile \
34- --context=./ \
34+ --context=git://github.com/${{ github.repository }}#${{ github.ref }} \
3535 --verbosity debug \
3636 --destination=${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.eu-central-1.amazonaws.com/pythonit/pycon-backend:arm-${{ inputs.githash }}
Original file line number Diff line number Diff line change @@ -14,18 +14,16 @@ ENV DJANGO_SETTINGS_MODULE=pycon.settings.prod \
1414 CELERY_RESULT_BACKEND=demo \
1515 HASHID_DEFAULT_SECRET_SALT=demo
1616
17- RUN apt-get update -y && apt-get install -y \
18- # weasyprint
19- libpango-1.0-0 libpangoft2-1.0-0 libharfbuzz-subset0 \
20- # postgres
21- libpq-dev
22-
2317FROM base AS build-stage
2418
2519ARG FUNCTION_DIR
2620
2721RUN apt-get update -y && apt-get install -y \
28- gcc git
22+ gcc git \
23+ # weasyprint
24+ libpango-1.0-0 libpangoft2-1.0-0 libharfbuzz-subset0 \
25+ # postgres
26+ libpq-dev
2927
3028RUN mkdir -p ${FUNCTION_DIR}
3129WORKDIR ${FUNCTION_DIR}
@@ -68,6 +66,12 @@ ARG FUNCTION_DIR
6866
6967WORKDIR ${FUNCTION_DIR}
7068
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+
7175ENV LIBRARY_PATH=/lib:/usr/lib LD_LIBRARY_PATH=/lib:/usr/lib
7276
7377RUN apt-get update -y && apt-get install -y curl
You can’t perform that action at this time.
0 commit comments