Skip to content

Add an FFW build to the container - #175

Open
marySalvi wants to merge 4 commits into
mainfrom
include-FFW-build
Open

marySalvi wants to merge 4 commits into
mainfrom
include-FFW-build

Conversation

@marySalvi

Copy link
Copy Markdown
Collaborator

Closes #173
This adds the FFW build to the container. Note the git ref points to a forked version of the CODES repo which is why it has to remain separate from the CODES git ref for now.

@bnmajor bnmajor added this to the First Demo milestone Sep 15, 2026
@bnmajor
bnmajor removed this pull request from stack #180 September 25, 2026 16:18
Comment thread dev/django.Dockerfile

# TODO: Points to forked repo and should be changed/removed when merged
RUN git clone https://github.com/caitlinross/codes.git opt/FFW \
&& cd opt/FFW \

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets use an absolute path here to avoid potential issues if WORKDIR ever changes.

Suggested change
&& cd opt/FFW \
&& cd /opt/FFW \

Comment thread dev/django.Dockerfile
Comment on lines +68 to +72
RUN cmake -S opt/FFW -B opt/FFW/build/local \
-DROSS_DIR=/ross/install/lib \
&& cmake --build opt/FFW/build/local -j"$(nproc)" \
--target model-net-fluid-flow-wan-random-traffic \
model-net-fluid-flow-wan-trace-traffic

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
RUN cmake -S opt/FFW -B opt/FFW/build/local \
-DROSS_DIR=/ross/install/lib \
&& cmake --build opt/FFW/build/local -j"$(nproc)" \
--target model-net-fluid-flow-wan-random-traffic \
model-net-fluid-flow-wan-trace-traffic
RUN cmake -S /opt/FFW -B /opt/FFW/build/local \
-DROSS_DIR=/ross/install/lib \
&& cmake --build /opt/FFW/build/local -j"$(nproc)" \
--target model-net-fluid-flow-wan-random-traffic \
model-net-fluid-flow-wan-trace-traffic

Comment thread dev/django.Dockerfile
# of relying on a host `ross` checkout bind-mounted at runtime.
COPY --from=ross-builder --chown=vscode:vscode /ross/build/models/phold/phold /opt/ross/phold
COPY --from=ross-builder --chown=vscode:vscode /opt/codes /opt/codes
# TODO: This may change once the FFW changes land in the main repo

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a short comment here about why we are copying everything over instead of just a subset of the repo? We may want to also consider an issue to come back to this and determine if we can determine the minimal requirements and copy those only.

@bnmajor
bnmajor added this pull request to stack #185 September 26, 2026 16:34
@marySalvi
marySalvi force-pushed the include-FFW-build branch 2 times, most recently from 016f17a to dbeda74 Compare September 26, 2026 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build FFW-Model

2 participants