We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i fix some your Dockerfile bugs:
FROM anapsix/alpine-java:8_jdk-dcevm LABEL maintainer="udger.com" description="Udger local parser" ENV MEECROWAVE_ARCHIVE meecrowave-core-1.2.7-runner ENV INSTALL_DIR /opt RUN apk -U upgrade && apk add curl && curl -o ${INSTALL_DIR}/${MEECROWAVE_ARCHIVE}.jar -L https://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/1.2.7/meecrowave-core-1.2.7-runner.jar ENV MEECROWAVE_HOME ${INSTALL_DIR} ENV DEPLOYMENT_DIR ${MEECROWAVE_HOME} WORKDIR ${INSTALL_DIR} COPY ./target/udger-local-api.war ${DEPLOYMENT_DIR} RUN mkdir -p /udgerdb
COPY ./udgerdb_test_v3.dat /udgerdb/udger_test_v3.dat
ENV JAVA_OPTS="-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true -Dudger.db=/udgerdb/udger_test_v3.dat" ENTRYPOINT java ${JAVA_OPTS} -jar ${MEECROWAVE_ARCHIVE}.jar --webapp udger-local-api.war --context udger-local-api EXPOSE 8080
now it's work!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
i fix some your Dockerfile bugs:
FROM anapsix/alpine-java:8_jdk-dcevm
LABEL maintainer="udger.com" description="Udger local parser"
ENV MEECROWAVE_ARCHIVE meecrowave-core-1.2.7-runner
ENV INSTALL_DIR /opt
RUN apk -U upgrade
&& apk add curl
&& curl -o ${INSTALL_DIR}/${MEECROWAVE_ARCHIVE}.jar -L https://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/1.2.7/meecrowave-core-1.2.7-runner.jar
ENV MEECROWAVE_HOME ${INSTALL_DIR}
ENV DEPLOYMENT_DIR ${MEECROWAVE_HOME}
WORKDIR ${INSTALL_DIR}
COPY ./target/udger-local-api.war ${DEPLOYMENT_DIR}
RUN mkdir -p /udgerdb
!!! Replace testing DB with Udger production database
COPY ./udgerdb_test_v3.dat /udgerdb/udger_test_v3.dat
!!! Replace -Dudger.db= with Udger production database
ENV JAVA_OPTS="-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true -Dudger.db=/udgerdb/udger_test_v3.dat"
ENTRYPOINT java ${JAVA_OPTS} -jar ${MEECROWAVE_ARCHIVE}.jar --webapp udger-local-api.war --context udger-local-api
EXPOSE 8080
now it's work!
The text was updated successfully, but these errors were encountered: