Eliott Bigiaoui
01/13/2023, 4:48 PMBuild and deploy to Dagster Cloud serverless
):
- name: Install gcc
run: sudo apt-get update && sudo apt purge gcc -y && sudo apt-get install gcc -y && sudo apt-get clean
But it seems that this is not effective and I still get this error during the next step:
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Isrc -Izlib-1.2.11 -Izlib-1.2.11/contrib/minizip -I/usr/local/include/python3.8 -c src/py_minizip.c -o build/temp.linux-x86_64-3.8/src/py_minizip.o
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
Do you have any idea how I could install it?
(Would changing the Python version allow me to use something different than Python:slim?)
Thanks!daniel
01/13/2023, 4:56 PMEliott Bigiaoui
01/13/2023, 7:02 PM- name: Build and deploy to Dagster Cloud serverless
uses: dagster-io/dagster-cloud-action/actions/serverless_branch_deploy@v0.1
with:
dagster_cloud_api_token: ${{ secrets.DAGSTER_CLOUD_API_TOKEN }}
location: ${{ toJson(matrix.location) }}
base_image: "python:3.8-bullseye"