File tree Expand file tree Collapse file tree 10 files changed +13
-12
lines changed
Expand file tree Collapse file tree 10 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 2121 with :
2222 fetch-depth : 0
2323
24+ - name : Install poetry
25+ run : pip install poetry==2.1.4
26+
2427 - uses : actions/setup-python@v5
2528 with :
2629 python-version : 3.11
30+ cache : ' poetry'
2731
2832 - name : Set up AWS credentials
2933 env :
3337 aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID
3438 aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY
3539
36- - name : Install poetry
37- run : pip install poetry==2.1.2
38-
3940 - name : Run unittest with filenameprocessor-coverage
4041 working-directory : filenameprocessor
4142 id : filenameprocessor
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM public.ecr.aws/lambda/python:3.11 AS base
33RUN mkdir -p /home/appuser && \
44 echo 'appuser:x:1001:1001::/home/appuser:/sbin/nologin' >> /etc/passwd && \
55 echo 'appuser:x:1001:' >> /etc/group && \
6- chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.2 "
6+ chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.4 "
77
88COPY poetry.lock pyproject.toml README.md ./
99RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi --no-root --only main
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM public.ecr.aws/lambda/python:3.11 AS base
33RUN mkdir -p /home/appuser && \
44 echo 'appuser:x:1001:1001::/home/appuser:/sbin/nologin' >> /etc/passwd && \
55 echo 'appuser:x:1001:' >> /etc/group && \
6- chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.2 "
6+ chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.4 "
77
88# -----------------------------
99COPY poetry.lock pyproject.toml README.md ./
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ FROM public.ecr.aws/lambda/python:3.11 as base
44RUN mkdir -p /home/appuser && \
55 echo 'appuser:x:1001:1001::/home/appuser:/sbin/nologin' >> /etc/passwd && \
66 echo 'appuser:x:1001:' >> /etc/group && \
7- chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.2 "
7+ chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.4 "
88
99# -----------------------------
1010COPY poetry.lock pyproject.toml README.md ./
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ FROM public.ecr.aws/lambda/python:3.11 AS base
44RUN mkdir -p /home/appuser && \
55 echo 'appuser:x:1001:1001::/home/appuser:/sbin/nologin' >> /etc/passwd && \
66 echo 'appuser:x:1001:' >> /etc/group && \
7- chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.2 "
7+ chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.4 "
88
99
1010
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ FROM public.ecr.aws/lambda/python:3.11 AS base
44RUN mkdir -p /home/appuser && \
55 echo 'appuser:x:1001:1001::/home/appuser:/sbin/nologin' >> /etc/passwd && \
66 echo 'appuser:x:1001:' >> /etc/group && \
7- chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.2 "
7+ chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.4 "
88
99# Install Poetry as root
1010COPY poetry.lock pyproject.toml README.md ./
Original file line number Diff line number Diff line change 11FROM public.ecr.aws/lambda/python:3.11 as base
22
3- RUN pip install "poetry~=2.1.2 "
3+ RUN pip install "poetry~=2.1.4 "
44
55COPY poetry.lock pyproject.toml README.md ./
66RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi --no-root --only main
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ FROM public.ecr.aws/lambda/python:3.11 AS base
44RUN mkdir -p /home/appuser && \
55 echo 'appuser:x:1001:1001::/home/appuser:/sbin/nologin' >> /etc/passwd && \
66 echo 'appuser:x:1001:' >> /etc/group && \
7- chown -R 1001:1001 /home/appuser && pip install "poetry~=1.5.0 "
7+ chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.4 "
88
99# Install Poetry dependencies
1010# Copy id_sync Poetry files
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ FROM public.ecr.aws/lambda/python:3.11 AS base
44RUN mkdir -p /home/appuser && \
55 echo 'appuser:x:1001:1001::/home/appuser:/sbin/nologin' >> /etc/passwd && \
66 echo 'appuser:x:1001:' >> /etc/group && \
7- chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.2 "
7+ chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.4 "
88
99# Install Poetry as root
1010COPY poetry.lock pyproject.toml README.md ./
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ FROM public.ecr.aws/lambda/python:3.11 AS base
44RUN mkdir -p /home/appuser && \
55 echo 'appuser:x:1001:1001::/home/appuser:/sbin/nologin' >> /etc/passwd && \
66 echo 'appuser:x:1001:' >> /etc/group && \
7- chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.2 "
7+ chown -R 1001:1001 /home/appuser && pip install "poetry~=2.1.4 "
88
99# Install Poetry as root
1010COPY poetry.lock pyproject.toml README.md ./
You can’t perform that action at this time.
0 commit comments