Skip to content

Commit

Permalink
Disable dog
Browse files Browse the repository at this point in the history
  • Loading branch information
IceCodeNew committed Feb 23, 2024
1 parent 7d56c84 commit d737958
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ RUN unset LDFLAGS CXXFLAGS CFLAGS \
# strip -o "/usr/local/cargo/bin/cfnts" ./target/x86_64-unknown-linux-gnu/release/cfnts \
# && rm -rf '/git/cfnts' "/usr/local/cargo/bin/cargo" "/usr/local/cargo/bin/cargo-clippy" "/usr/local/cargo/bin/cargo-deb" "/usr/local/cargo/bin/cargo-audit" "/usr/local/cargo/bin/cargo-fmt" "/usr/local/cargo/bin/cargo-miri" "/usr/local/cargo/bin/clippy-driver" "/usr/local/cargo/bin/rls ./rust-analyzer" "/usr/local/cargo/bin/rust-gdb" "/usr/local/cargo/bin/rust-gdbgui" "/usr/local/cargo/bin/rust-lldb" "/usr/local/cargo/bin/rustc" "/usr/local/cargo/bin/rustdoc" "/usr/local/cargo/bin/rustfmt" "/usr/local/cargo/bin/rustup" "/usr/local/cargo/git" "/usr/local/cargo/registry"

FROM quay.io/icecodenew/rust-collection:build_base_debian AS dog
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# https://api.github.com/repos/ogham/dog/commits?per_page=1
ARG dog_latest_commit_hash='d2d22fd8a4ba79027b5e2013d4ded3743dad5262'
WORKDIR /usr/local/cargo/bin
RUN source '/root/.bashrc' \
&& RUSTFLAGS="-C relocation-model=pic -C prefer-dynamic=off -C target-cpu=x86-64-v2 -C target-feature=-crt-static -C link-arg=-fuse-ld=lld" cargo install --bins -j "$(nproc)" --target x86_64-unknown-linux-gnu --git 'https://github.com/ogham/dog.git' dog --verbose \
&& strip ./dog \
&& rm -rf ./cargo ./cargo-clippy ./cargo-deb ./cargo-audit ./cargo-fmt ./cargo-miri ./clippy-driver ./rls ./rust-analyzer ./rust-gdb ./rust-gdbgui ./rust-lldb ./rustc ./rustdoc ./rustfmt ./rustup "/usr/local/cargo/git" "/usr/local/cargo/registry"
# FROM quay.io/icecodenew/rust-collection:build_base_debian AS dog
# SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# # https://api.github.com/repos/ogham/dog/commits?per_page=1
# ARG dog_latest_commit_hash='d2d22fd8a4ba79027b5e2013d4ded3743dad5262'
# WORKDIR /usr/local/cargo/bin
# RUN source '/root/.bashrc' \
# && RUSTFLAGS="-C relocation-model=pic -C prefer-dynamic=off -C target-cpu=x86-64-v2 -C target-feature=-crt-static -C link-arg=-fuse-ld=lld" cargo install --bins -j "$(nproc)" --target x86_64-unknown-linux-gnu --git 'https://github.com/ogham/dog.git' dog --verbose \
# && strip ./dog \
# && rm -rf ./cargo ./cargo-clippy ./cargo-deb ./cargo-audit ./cargo-fmt ./cargo-miri ./clippy-driver ./rls ./rust-analyzer ./rust-gdb ./rust-gdbgui ./rust-lldb ./rustc ./rustdoc ./rustfmt ./rustup "/usr/local/cargo/git" "/usr/local/cargo/registry"

FROM quay.io/icecodenew/rust-collection:build_base_debian AS qft
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
Expand Down Expand Up @@ -274,7 +274,7 @@ FROM scratch AS assets
COPY --from=shadowsocks-rust /usr/local/cargo/bin /usr/local/cargo/bin/
# COPY --from=boringtun /usr/local/cargo/bin /usr/local/cargo/bin/
# COPY --from=cfnts /usr/local/cargo/bin /usr/local/cargo/bin/
COPY --from=dog /usr/local/cargo/bin /usr/local/cargo/bin/
# COPY --from=dog /usr/local/cargo/bin /usr/local/cargo/bin/
COPY --from=qft /usr/local/cargo/bin /usr/local/cargo/bin/
# COPY --from=websocat /usr/local/cargo/bin /usr/local/cargo/bin/
COPY --from=rsign2 /usr/local/cargo/bin /usr/local/cargo/bin/
Expand Down

0 comments on commit d737958

Please sign in to comment.