Skip to content
New issue

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

Add Dockerfile to repo #16

Open
emanuelb opened this issue May 15, 2020 · 0 comments
Open

Add Dockerfile to repo #16

emanuelb opened this issue May 15, 2020 · 0 comments

Comments

@emanuelb
Copy link

Add Dockerfile to allow easy building of container that contain enjairfy from git repo, which use COPY . instruction and .dockerignore file if needed.

Currently I use (which do git clone inside the container):

FROM python:3
RUN set -ex; \
    git clone --depth 1 https://github.com/Storyyeller/enjarify/; \
    ln -s /enjarify/enjarify.sh /usr/local/bin/enjarify;
WORKDIR /enjarify/
ENTRYPOINT ["python3", "-O", "-m", "enjarify.main"]
CMD ["--help"]

build:

docker run --rm -t enjarify .

run example:

docker run --rm -ti --network none -v /host/dex-files/:/f/:ro -v /host/jar-from-dex/:/o/:rw --entrypoint /bin/bash enjarify
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant