Skip to content

Commit

Permalink
Use ubuntu16.04 1.2 image in amd64 non alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer authored Feb 11, 2025
1 parent 7026f18 commit 39bdcb3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ jobs:
uses: actions/checkout@v4
- name: Build binary
run: |
docker run --rm --volume "${PWD}:/repo" ghcr.io/grycap/faas-supervisor-build:debian10-1.2 /bin/sh -c " \
docker run --rm --volume "${PWD}:/repo" ghcr.io/grycap/faas-supervisor-build:ubuntu16.04-1.2 /bin/sh -c " \
cd /repo && \
pip3.9 install -r requirements.txt
pip3.8 install -r requirements.txt
pyinstaller --onefile -n supervisor-bin faassupervisor/supervisor.py
pyinstaller faassupervisor/supervisor.py
cd dist
Expand Down Expand Up @@ -123,6 +123,8 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# if we use debian10-1.2 we have tls1.3 support but we lose old distros (glibc older than 2.31)
# if we use ubuntu16.04-1.1 we lose the tls1.3 support but use glibc version 2.23.
- name: Build binary on emulated aarch64
run: |
docker run --rm --platform arm64 --volume "${PWD}:/repo" ghcr.io/grycap/faas-supervisor-build:debian10-1.2 /bin/sh -c " \
Expand Down

0 comments on commit 39bdcb3

Please sign in to comment.