hi guys
I am newer in docker
how to dockerize this service application manager for docker ??
https://www.manageengine.com/products/applications_manager/help/installing-application-manager.html
please guide me
my Docker file :
# base image Linux Ubuntu
FROM ubuntu
ENV SOFT AppManager
#ENV EDITTION latst
ENV SOFT_OPT /home/bahram/
# download option
RUN apt-get update
RUN apt-get install vim
RUN apt-get install curl
WORKDIR /home/bahram/
COPY . /etc/init.d/AppManager
RUN chmod 755 /etc/init.d/AppManager
RUN update-rc.d AppManager defaults
RUN shutdown -r now
COPY AppManager.service /etc/systemd/system/
RUN sudo chmod 644 /etc/systemd/system/AppManager.service
RUN sudo systemctl enable /etc/systemd/system/AppManager.service
RUN sudo systemctl start AppManager.service
#WORKDIR /home/bahram
#CMD ["sh", "AppManager"]
# Set the default working directory as the installation directory.
#WORKDIR ${SOFT_HOME}
# VOLUME point
VOLUME ["${SOFT_OPT}"]
# Expose default HTTP connector port.
EXPOSE 9090
# helthcheck
#HEALTHCHECK CMD curl --fail http://localhost:9090/ || exit 1
CMD ["AppManager"]