Skip to content

Commit

Permalink
feat(binner): Define Dockerfile for Binner.io
Browse files Browse the repository at this point in the history
  • Loading branch information
eaglesemanation committed Jan 31, 2025
1 parent f226b53 commit f0d7648
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions containers/binner.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app

USER root
RUN apt-get update && \
apt-get install -y --no-install-recommends wget ca-certificates && \
rm -rf /var/lib/apt/lists/*

ARG ARCH=x64
ARG RELEASE_TAG=2.6.3
ARG ARTIFACT_NAME=Binner_linux-${ARCH}-${RELEASE_TAG}.tar.gz

RUN wget https://github.com/replaysMike/Binner/releases/download/v${RELEASE_TAG}/${ARTIFACT_NAME} -O /app/${ARTIFACT_NAME} && \
tar -xzf /app/${ARTIFACT_NAME} -C /app && \
rm /app/${ARTIFACT_NAME} && \
chown -R 1000:1000 /app && \
chmod +x /app/Binner.Web

USER app
EXPOSE 8090
ENTRYPOINT ["/app/Binner.Web"]

LABEL org.opencontainers.image.authors="Vladimir Romashchenko <[email protected]>"
LABEL org.opencontainers.image.source="https://github.com/eaglesemanation/ops.emnt.dev"
LABEL org.opencontainers.image.licenses="GPL-3.0"
2 changes: 1 addition & 1 deletion containers/jupyterlab-datascience-notebook.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN pip install --no-cache-dir \
# Visualisation
hvplot panel jupyter_bokeh shapely geoviews \
# Working with maps
osmnx geopandas networkx \
osmnx geopandas networkx folium mapclassify \
# Markdown parser
jupyterlab_myst myst_parser \
# Panel UI support
Expand Down

0 comments on commit f0d7648

Please sign in to comment.