File: Dockerfile

package info (click to toggle)
rust-topnfiles 4.1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 192 kB
  • sloc: sh: 41; makefile: 4
file content (17 lines) | stat: -rw-r--r-- 347 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Being used by the packaging/build_in_podman_container.sh script
ARG APPNAME topnfiles
FROM rust:1.89-bullseye
COPY . .
RUN apt-get update
RUN <<EOF
echo HERE
ls -la
set -e
cargo build --release
strip target/release/topnfiles
cargo install cargo-generate-rpm
cargo generate-rpm
cargo install cargo-deb
cargo deb
rm -f target/debian/*stripped
EOF