shell-string 0.4.2

Obvious CLI for basic string manipulation
1
2
3
4
5
6
7
8
9
10
11
12
13
# use rust Docker image only to build binary
FROM rust as builder
WORKDIR /shell_string

COPY . .

# build with max optimisations
RUN  cargo build --release

# use very small container to ship out binary with
FROM alpine
COPY --from=builder /shell_string/target/release/string /usr/bin/string
CMD ["string"]