You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi gentlemen,
As the title says, for a company project I developed an Ingres runner, but... it needs Java openjdk to be installed in the image. Also needs a couple more libraries for Java-python interface (jaydebeapi JPype1) and of course the Ingres JDBC driver.
The dockerfile looks like this:
# A simple image, just installs what we need to run a query runner for redash
FROM redash/redash:25.8.0
# Install JDK
USER root
RUN apt-get update && apt-get install -y openjdk-17-jre && rm -rf /var/lib/apt/lists/*
ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
ENV PATH="$JAVA_HOME/bin:${PATH}"
# Copy Ingres JDBC driver
COPY iijdbc-12.0-4.4.4.jar /app/drivers/
# Install Python packages for JDBC bridge
RUN pip install --no-cache-dir jaydebeapi JPype1
# Optional: set CLASSPATH so Java can find the JDBC driver
ENV CLASSPATH=/app/drivers/iijdbc-12.0-4.4.4.jar:$CLASSPATH
# Copy the ingres runner
COPY --chown=redash:redash ingres_jdbc.py /app/redash/query_runner/
USER redash
ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
ENV PATH="$JAVA_HOME/bin:${PATH}"
Would it still be acceptable to submit this to this project?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi gentlemen,
As the title says, for a company project I developed an Ingres runner, but... it needs Java openjdk to be installed in the image. Also needs a couple more libraries for Java-python interface (jaydebeapi JPype1) and of course the Ingres JDBC driver.
The dockerfile looks like this:
Would it still be acceptable to submit this to this project?
Regards,
Beta Was this translation helpful? Give feedback.
All reactions