Install Cargo in Alpine container

pull/4/head
Yax 1 year ago
parent 893a1a307c
commit be1f836ce7

@ -7,9 +7,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11.0"
- name: Build the Docker image
run: |
echo "${{ secrets.DOCKER_HUB_TOKEN }}" | docker login -u "${{ secrets.DOCKER_HUB_USERNAME }}" --password-stdin docker.io

@ -1,7 +1,7 @@
FROM nginx:1.19.0-alpine
RUN apk update
RUN apk add --no-cache build-base bash git python3 make tzdata curl py3-pip libressl-dev musl-dev libffi-dev python3-dev
RUN apk add --no-cache build-base bash git python3 make tzdata curl py3-pip libressl-dev musl-dev libffi-dev python3-dev cargo
# install poetry
ENV POETRY_HOME=/opt/poetry

Loading…
Cancel
Save