Skip to content

Commit

Permalink
Fixed build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
tomuben committed Dec 6, 2024
1 parent eacd04b commit ef97fc2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
6 changes: 4 additions & 2 deletions flavors/test-Exasol-8-cuda-ml/flavor_base/build_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ def get_build_step(self) -> str:
return "flavor_test_build_run"

def requires_tasks(self):
return {"base_test_build_run": AnalyzeBaseTestBuildRun}
return {"base_test_build_run": AnalyzeBaseTestBuildRun,
"flavor_base_deps": AnalyzeFlavorBaseDeps}

def get_path_in_flavor(self):
return "flavor_base"
Expand All @@ -134,7 +135,8 @@ def get_build_step(self) -> str:

def requires_tasks(self):
return {"build_run": AnalyzeBuildRun,
"language_deps": AnalyzeLanguageDeps}
"language_deps": AnalyzeLanguageDeps,
"flavor_base_deps": AnalyzeFlavorBaseDeps}

def get_path_in_flavor(self):
return "flavor_base"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@ FROM {{base_test_build_run}}

RUN mkdir -p /conf /buckets

COPY --from={{flavor_customization}} /usr /usr
COPY --from={{flavor_base_deps}} /usr /usr
RUN true # workaround for https://github.com/moby/moby/issues/37965

COPY --from={{flavor_customization}} /opt /opt
COPY --from={{flavor_base_deps}} /opt /opt
RUN true # workaround for https://github.com/moby/moby/issues/37965

COPY --from={{flavor_customization}} /lib /lib
COPY --from={{flavor_base_deps}} /lib /lib
RUN true # workaround for https://github.com/moby/moby/issues/37965

COPY --from={{flavor_customization}} /bin /bin
COPY --from={{flavor_base_deps}} /bin /bin
RUN true # workaround for https://github.com/moby/moby/issues/37965

COPY --from={{flavor_customization}} /etc /etc
COPY --from={{flavor_base_deps}} /etc /etc
RUN true # workaround for https://github.com/moby/moby/issues/37965

COPY --from={{flavor_customization}} /build_info /build_info
COPY --from={{flavor_base_deps}} /build_info /build_info
RUN true # workaround for https://github.com/moby/moby/issues/37965


Expand Down
16 changes: 8 additions & 8 deletions flavors/test-Exasol-8-cuda-ml/flavor_base/release/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,28 @@ COPY --from={{language_deps}} /scripts /scripts
RUN true # workaround for https://github.com/moby/moby/issues/37965


COPY --from={{flavor_customization}} /usr /usr
COPY --from={{flavor_base_deps}} /usr /usr
RUN true # workaround for https://github.com/moby/moby/issues/37965

COPY --from={{flavor_customization}} /lib /lib
COPY --from={{flavor_base_deps}} /lib /lib
RUN true # workaround for https://github.com/moby/moby/issues/37965

COPY --from={{flavor_customization}} /bin /bin
COPY --from={{flavor_base_deps}} /bin /bin
RUN true # workaround for https://github.com/moby/moby/issues/37965

COPY --from={{flavor_customization}} /opt /opt
COPY --from={{flavor_base_deps}} /opt /opt
RUN true # workaround for https://github.com/moby/moby/issues/37965

COPY --from={{flavor_customization}} /etc /etc
COPY --from={{flavor_base_deps}} /etc /etc
RUN true # workaround for https://github.com/moby/moby/issues/37965

COPY --from={{flavor_customization}} /build_info /build_info
COPY --from={{flavor_base_deps}} /build_info /build_info
RUN true # workaround for https://github.com/moby/moby/issues/37965

COPY --from={{flavor_customization}} /var /var
COPY --from={{flavor_base_deps}} /var /var
RUN true # workaround for https://github.com/moby/moby/issues/37965

COPY --from={{flavor_customization}} /root /root
COPY --from={{flavor_base_deps}} /root /root
RUN true # workaround for https://github.com/moby/moby/issues/37965

RUN ldconfig
Expand Down

0 comments on commit ef97fc2

Please sign in to comment.