Skip to content

Commit

Permalink
Merge pull request #103 from tsgit/main
Browse files Browse the repository at this point in the history
fix KAFKA_HOME symlink to unpacked tgz dir
  • Loading branch information
jbellister-slac authored Jun 27, 2022
2 parents c7d15e2 + 47afb36 commit 1e0dcc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phoebus-alarm-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ RUN yum install -y wget ${JAVA_BASE}-${JAVA_VERSION} readline libsdc++ && \
wget https://downloads.apache.org/kafka/2.8.1/kafka_2.13-2.8.1.tgz -O /tmp/kafka_2.13-2.8.1.tgz && \
tar xvfz /tmp/kafka_2.13-2.8.1.tgz -C /opt && \
rm /tmp/kafka_2.13-2.8.1.tgz && \
ln -s /opt/kafka_2.13-2.8.1.tgz ${KAFKA_HOME} && \
ln -s /opt/kafka_2.13-2.8.1 ${KAFKA_HOME} && \
rm -r /tmp/*

COPY --from=build /opt/phoebus-build /opt/phoebus
Expand All @@ -63,4 +63,4 @@ ENV ALARM_SERVER_JAR /opt/phoebus/service-alarm-server.jar
ENV LOGGING_CONFIG_FILE /opt/nalms/config/logging.properties

# prepare to use commands
ENTRYPOINT ["/bin/bash", "/opt/nalms/cli/cli"]
ENTRYPOINT ["/bin/bash", "/opt/nalms/cli/cli"]

0 comments on commit 1e0dcc7

Please sign in to comment.