-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
executable file
·24 lines (17 loc) · 1.02 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Generated with JReleaser 1.16.0 at 2025-02-20T21:53:56.681921899Z
FROM azul/zulu-openjdk-alpine:17-jre
LABEL "org.opencontainers.image.title"="redis-cloud-autoscaler"
LABEL "org.opencontainers.image.description"="Prometheus driven scaler for Redis Cloud"
LABEL "org.opencontainers.image.url"="https://github.com/redis-field-engineering/redis-cloud-autoscaler"
LABEL "org.opencontainers.image.licenses"="MIT"
LABEL "org.opencontainers.image.version"="0.0.1"
LABEL "org.opencontainers.image.revision"="30c91555d1af4be260fd464af840956e6c261cdc"
COPY assembly/ /
RUN mkdir -p /redis-cloud-autoscaler-0.0.1/bin && \
mkdir -p /redis-cloud-autoscaler-0.0.1/lib && \
mv /redis-cloud-autoscaler /redis-cloud-autoscaler-0.0.1/bin && \
chmod +x /redis-cloud-autoscaler-0.0.1/bin/redis-cloud-autoscaler && \
mv /redis-cloud-autoscaler-0.0.1.jar /redis-cloud-autoscaler-0.0.1/lib
ENV PATH="${PATH}:/redis-cloud-autoscaler-0.0.1/bin"
ENTRYPOINT ["/redis-cloud-autoscaler-0.0.1/bin/redis-cloud-autoscaler"]
CMD ["redis-cloud-autoscaler"]