You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried isolating the multi-line RUN command in the Dockerfile into steps to see which one is causing the error. I think it's the dbt-create step that is causing the error.
This is a little convoluted because there must be some details about the way RUN and && \ work in Dockerfiles that I'm missing. But I got the same error as above with this in the Dockerfile:
RUN source /cvmfs/dunedaq.opensciencegrid.org/setup_dunedaq.sh && \
setup_dbt latest_v5 && \
dbt-create fddaq-v5.1.0-a9 fddaq-v5.1.0-a9
RUN cd fddaq-v5.1.0-a9
RUN source env.sh
RUN dbt-build
RUN dbt-workarea-env
RUN pip install git+https://github.com/DUNE-DAQ/[email protected]
And then I got a different error with this in Dockerfile:
RUN source /cvmfs/dunedaq.opensciencegrid.org/setup_dunedaq.sh && \
setup_dbt latest_v5
RUN dbt-create fddaq-v5.1.0-a9 fddaq-v5.1.0-a9
RUN cd fddaq-v5.1.0-a9
RUN source env.sh
RUN dbt-build
RUN dbt-workarea-env
RUN pip install git+https://github.com/DUNE-DAQ/[email protected]
That error was:
=> ERROR [drunc 5/20] RUN dbt-create fddaq-v5.1.0-a9 fddaq-v5.1.0-a9 0.1s
------
> [drunc 5/20] RUN dbt-create fddaq-v5.1.0-a9 fddaq-v5.1.0-a9:
0.122 /bin/bash: line 1: dbt-create: command not found
------
failed to solve: process "/bin/bash -c dbt-create fddaq-v5.1.0-a9 fddaq-v5.1.0-a9" did not complete successfully: exit code: 127
Since the dbt-create line was run, it makes we think everything before it passed.
Following the Docker setup instructions in the README, I was able to get the
drunc-lite
profile working, but thedrunc
profile failed.I believe this is an Apple Silicon-only issue because it mentions "rosetta" in the error message, which is the conversion tool for running x86 on ARM.
I can't tell where the error is because it's happening on a multi-line
RUN
command in the Dockerfile.The text was updated successfully, but these errors were encountered: