File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM ubuntu:22.04
2+
3+ LABEL org.opencontainers.image.source=https://github.com/jonlamb-gh/ctf-util
4+ LABEL org.opencontainers.image.description="Docker image for ctf-util"
5+ LABEL org.opencontainers.image.licenses=MIT
6+
7+ ENV DEBIAN_FRONTEND=noninteractive
8+
9+ RUN apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends --assume-yes \
10+ patchelf lintian adduser help2man gzip \
11+ cmake make gcc g++ libusb-1.0-0-dev stunnel \
12+ curl build-essential protobuf-compiler libssl-dev \
13+ python3 python3-pip python3-venv \
14+ libglib2.0-dev pkg-config libtool flex bison autoconf ca-certificates automake
15+
16+ RUN curl https://sh.rustup.rs -sSf | bash -s -- -y --profile minimal -c rustfmt -c clippy
17+ ENV PATH="/root/.cargo/bin:${PATH}"
18+
19+ RUN mkdir -p /ctf-util
20+ COPY Cargo.lock /ctf-util/
21+ COPY Cargo.toml /ctf-util/
22+ COPY LICENSE-MIT /ctf-util/
23+ COPY README.md /ctf-util/
24+ COPY src/ /ctf-util/src/
25+
26+ RUN cd /ctf-util && ls -l && cargo install --path .
27+
28+ ENTRYPOINT ["/root/.cargo/bin/ctf-util" ]
You can’t perform that action at this time.
0 commit comments