Skip to content

Commit

Permalink
refactor: copy whole custom fs. not peicemail.
Browse files Browse the repository at this point in the history
  • Loading branch information
nain-F49FF806 committed Feb 21, 2024
1 parent ee817c9 commit 13d5139
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ COPY --from=builder /usr/local/cargo/bin/ /opt/cargo/bin/
COPY --from=builder /usr/local/cargo/.crates.toml /usr/local/cargo/.crates2.json /opt/cargo/
ENV PATH=/opt/cargo/bin:$PATH

COPY customization/rusty-fedora/opt/cargo/bin/ /opt/cargo/bin/
COPY customization/rusty-fedora/etc/profile.d/ /etc/profile.d/
COPY customization/rusty-fedora/ /


# --- Ubuntu ---
Expand All @@ -58,8 +57,7 @@ COPY --from=builder /usr/local/cargo/bin/ /opt/cargo/bin/
COPY --from=builder /usr/local/cargo/.crates.toml /usr/local/cargo/.crates2.json /opt/cargo/
ENV PATH=/opt/cargo/bin:$PATH

COPY customization/rusty-ubuntu/opt/cargo/bin/* /opt/cargo/bin/
COPY customization/rusty-ubuntu/etc/profile.d/* /etc/profile.d/
COPY customization/rusty-ubuntu/ /


# --- Arch ---
Expand All @@ -85,5 +83,4 @@ COPY --from=builder /usr/local/cargo/bin/ /opt/cargo/bin/
COPY --from=builder /usr/local/cargo/.crates.toml /usr/local/cargo/.crates2.json /opt/cargo/
ENV PATH=/opt/cargo/bin:$PATH

COPY customization/rusty-arch/opt/cargo/bin/* /opt/cargo/bin/
COPY customization/rusty-arch/etc/profile.d/* /etc/profile.d/
COPY customization/rusty-arch/ /

0 comments on commit 13d5139

Please sign in to comment.