Skip to content

Instantly share code, notes, and snippets.

@antiops
Created March 16, 2023 23:56
Show Gist options
  • Save antiops/1d2763e21df0a5bac10200d59517aa62 to your computer and use it in GitHub Desktop.
Save antiops/1d2763e21df0a5bac10200d59517aa62 to your computer and use it in GitHub Desktop.
zlib-searcher docker
version 2.4
services:
zlib:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
FROM ubuntu:22.04
WORKDIR /
# Download archived library index and binary
RUN apt update && apt install -y wget unzip \
&& wget "https://archive.org/download/zlib-searcher_index_0.6-repackaged/index_0.6.zip" -O /index.zip \
&& unzip /index.zip -d / \
&& wget "https://archive.org/download/zlib-searcher_index_0.6-repackaged/zlib-searcher" -O /zlib-searcher \
&& chmod +x /zlib-searcher
CMD ["/zlib-searcher", "run", "-b", "0.0.0.0:7070"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment