Skip to content

Commit

Permalink
Merge pull request #3 from dfigus/add-bt-manager
Browse files Browse the repository at this point in the history
Add BT Manager
  • Loading branch information
dfigus authored Aug 30, 2024
2 parents c86fda4 + 8dbfed7 commit 143f4bf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions solarflow-control/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ FROM alpine:3.20 AS builder
############## builder ##############

ARG SOLARFLOW_RELEASE="0.71"
ARG SOLARFLOW_BT_DIGEST="05ea01a447265ff235557af7d2100d28cc18c4c9"


RUN \
echo "**** install build packages ****" && \
Expand All @@ -15,15 +17,22 @@ RUN \
cd /tmp/solarflow && \
git checkout "${SOLARFLOW_RELEASE}"

RUN \
git clone https://github.com/reinhard-brandstaedter/solarflow-bt-manager /tmp/solarflow-bt && \
cd /tmp/solarflow-bt && \
git checkout "${SOLARFLOW_BT_DIGEST}"


####### runtime ###########
# hadolint ignore=DL3006
FROM ${BUILD_FROM}

Check warning on line 28 in solarflow-control/Dockerfile

View workflow job for this annotation

GitHub Actions / workflows / Build aarch64

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${BUILD_FROM} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 28 in solarflow-control/Dockerfile

View workflow job for this annotation

GitHub Actions / workflows / Build amd64

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${BUILD_FROM} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 28 in solarflow-control/Dockerfile

View workflow job for this annotation

GitHub Actions / workflows / Build armhf

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${BUILD_FROM} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 28 in solarflow-control/Dockerfile

View workflow job for this annotation

GitHub Actions / workflows / Build armv7

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${BUILD_FROM} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 28 in solarflow-control/Dockerfile

View workflow job for this annotation

GitHub Actions / workflows / Build i386

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${BUILD_FROM} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 28 in solarflow-control/Dockerfile

View workflow job for this annotation

GitHub Actions / workflows / 👷 Build & Deploy aarch64

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${BUILD_FROM} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 28 in solarflow-control/Dockerfile

View workflow job for this annotation

GitHub Actions / workflows / 👷 Build & Deploy amd64

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${BUILD_FROM} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 28 in solarflow-control/Dockerfile

View workflow job for this annotation

GitHub Actions / workflows / 👷 Build & Deploy armhf

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${BUILD_FROM} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 28 in solarflow-control/Dockerfile

View workflow job for this annotation

GitHub Actions / workflows / 👷 Build & Deploy armv7

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${BUILD_FROM} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 28 in solarflow-control/Dockerfile

View workflow job for this annotation

GitHub Actions / workflows / 👷 Build & Deploy i386

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${BUILD_FROM} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

COPY --from=builder /tmp/solarflow/src/solarflow /solarflow
COPY --from=builder /tmp/solarflow/src/requirements.txt /tmp/requirements.txt
COPY --from=builder /tmp/solarflow-bt/src/ /solarflow-bt

RUN pip3 install --no-cache-dir -Ur /tmp/requirements.txt
RUN pip3 install --no-cache-dir -Ur /solarflow-bt/requirements.txt

# Copy root filesystem
COPY rootfs /
Expand Down

0 comments on commit 143f4bf

Please sign in to comment.