Install Cargo in Alpine container
This commit is contained in:
parent
893a1a307c
commit
be1f836ce7
2 changed files with 2 additions and 5 deletions
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
@ -6,10 +6,7 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.11.0"
|
||||
- uses: actions/checkout@v3
|
||||
- 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…
Add table
Reference in a new issue