feat: Adds todos, updates Dockerfile to use hpa as the entrypoint.
This commit is contained in:
@@ -56,11 +56,6 @@ RUN export DEBIAN_FRONTEND=nointeractive DEBCONF_NOINTERACTIVE_SEEN=true && \
|
||||
|
||||
COPY --from=build /staging/hpa /usr/local/bin
|
||||
|
||||
# Setup completion
|
||||
RUN mkdir /root/.bash_completion && \
|
||||
echo "source /root/.bash_completion/hpa.bash" >>/root/.bashrc && \
|
||||
/usr/local/bin/hpa --generate-completion-script bash >/root/.bash_completion/hpa.bash
|
||||
|
||||
# Setup volumes
|
||||
RUN mkdir /config && \
|
||||
mkdir /consults && \
|
||||
@@ -72,4 +67,5 @@ RUN mkdir /config && \
|
||||
|
||||
VOLUME /config /consults /playbook /template
|
||||
|
||||
CMD ["/bin/bash", "-xc", "/usr/local/bin/hpa"]
|
||||
ENTRYPOINT [ "/usr/local/bin/hpa" ]
|
||||
CMD ["--help"]
|
||||
|
||||
Reference in New Issue
Block a user