Created
March 16, 2023 23:56
-
-
Save antiops/1d2763e21df0a5bac10200d59517aa62 to your computer and use it in GitHub Desktop.
zlib-searcher docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version 2.4 | |
services: | |
zlib: | |
build: | |
context: . | |
dockerfile: Dockerfile | |
restart: unless-stopped |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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