redis: use a single COPY command

This commit is contained in:
Starbeamrainbowlabs 2020-12-04 15:51:09 +00:00
parent afa81d4fe6
commit 1ba5566802
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -17,9 +17,7 @@ RUN make distclean && make -j$(nproc)
FROM ${REPO_LOCATION}minideb
COPY --from=builder /srv/redis-stable/src/redis-server /usr/local/bin
COPY --from=builder /srv/redis-stable/src/redis-cli /usr/local/bin
COPY --from=builder /srv/redis-stable/src/redis-sentinel /usr/local/bin
COPY --from=builder /srv/redis-stable/src/redis-server /srv/redis-stable/src/redis-cli /srv/redis-stable/src/redis-sentinel /usr/local/bin/
# COPY --from=builder /srv/redis-stable/src/redis-benchmark /usr/local/bin
USER 2100:2100