Skip to content

Commit eb96c96

Browse files
authored
fixed docker build (#604)
1 parent 8df0514 commit eb96c96

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

carbonj.service/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77

88
FROM quay.io/centos/centos:stream8
9-
ARG DEPENDENCY=target/dependency
9+
ARG DEPENDENCY=build/docker/dependency
1010
ARG VERSION=latest
1111

1212
# install dependencies
@@ -26,9 +26,9 @@ RUN yum update -y && \
2626
RUN yum install -y gcc-c++ gcc make libtool automake autoconf make python3-devel
2727

2828
RUN rpm --import http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems && \
29-
curl -o /etc/yum.repos.d/zulu.repo http://repos.azulsystems.com/rhel/zulu.repo && \
29+
yum install -y https://cdn.azul.com/zulu/bin/zulu-repo-1.0.0-1.noarch.rpm && \
3030
yum update -y && \
31-
yum install -y zulu-11 \
31+
yum install -y zulu17-jdk \
3232
python3 \
3333
perl-URI-Encode \
3434
perl-Data-Dumper && \
@@ -102,4 +102,4 @@ RUN chmod +x /sbin/tini
102102
ENTRYPOINT ["/sbin/tini", "--"]
103103

104104
# Run your program under Tini
105-
CMD ["/app/bin/entrypoint.sh"]
105+
CMD ["/app/bin/entrypoint.sh"]

0 commit comments

Comments
 (0)