From b1bd5cc580332614c473aa01d3d7279999636ec4 Mon Sep 17 00:00:00 2001 From: Fredrik Wrede Date: Mon, 5 Jun 2023 13:53:52 +0200 Subject: [PATCH 1/2] copy fedn executable --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4827450..e953af6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,9 +6,11 @@ RUN apt-get update \ && apt-get install --no-install-recommends -y git \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \ - && pip install -e git+https://github.com/scaleoutsystems/fedn.git@develop#egg=fedn\&subdirectory=fedn \ + && pip install git+https://github.com/scaleoutsystems/fedn.git@master#egg=fedn\&subdirectory=fedn \ && pip install --no-cache-dir -r requirements.txt FROM python:3.10.6-slim as build COPY --from=base /usr/local/lib/python3.10/site-packages/ /usr/local/lib/python3.10/site-packages/ +COPY --from=base /usr/local/bin/fedn /usr/local/bin/ +WORKDIR /app From 0527f04982575100b3415df78a5fc4fc9294d55b Mon Sep 17 00:00:00 2001 From: Fredrik Wrede Date: Mon, 5 Jun 2023 13:54:14 +0200 Subject: [PATCH 2/2] change runner to ubuntu --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0f1b7b4..c0c30db 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,7 +12,7 @@ jobs: build_studio: name: Build studio - runs-on: alpine:latest #ubuntu-20.04 + runs-on: ubuntu-20.04 outputs: image: ${{ steps.meta.outputs.json }} permissions: