Install Cargo in Alpine container

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

@ -6,10 +6,7 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11.0"
- name: Build the Docker image - name: Build the Docker image
run: | run: |
echo "${{ secrets.DOCKER_HUB_TOKEN }}" | docker login -u "${{ secrets.DOCKER_HUB_USERNAME }}" --password-stdin docker.io 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 FROM nginx:1.19.0-alpine
RUN apk update 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 # install poetry
ENV POETRY_HOME=/opt/poetry ENV POETRY_HOME=/opt/poetry

Loading…
Cancel
Save