代码拉取完成,页面将自动刷新
FROM maven:3.8-openjdk-11-slim AS builder
WORKDIR /app
COPY . /app
RUN mvn clean install -Dmaven.test.skip=true
FROM bellsoft/liberica-openjdk-alpine-musl:11
COPY --from=builder /app/target/redis-rdb-cli-release.zip /tmp/redis-rdb-cli-release.zip
WORKDIR /app
# because of the cli has set shebang
RUN unzip -o /tmp/redis-rdb-cli-release.zip \
&& apk add --no-cache bash \
&& rm -f /tmp/redis-rdb-cli-release.zip \
&& ln -s /app/redis-rdb-cli/bin/rct /usr/local/bin/rct \
&& ln -s /app/redis-rdb-cli/bin/rmt /usr/local/bin/rmt \
&& ln -s /app/redis-rdb-cli/bin/rst /usr/local/bin/rst \
&& ln -s /app/redis-rdb-cli/bin/ret /usr/local/bin/ret \
&& ln -s /app/redis-rdb-cli/bin/rdt /usr/local/bin/rdt \
&& ln -s /app/redis-rdb-cli/bin/rcut /usr/local/bin/rcut \
&& ln -s /app/redis-rdb-cli/bin/rcut /usr/local/bin/rmonitor
WORKDIR /app/redis-rdb-cli
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。