command
module
Version:
v0.0.0-...-7947632
Opens a new window with list of versions in this module.
Published: Nov 7, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Dockerfile From Image (dfimage)
Reverse-engineers a Dockerfile from a Docker image.
Usage •
Install •
Docker Example •
References •
License
usage
# dfimage <image>
dfimage ruby:latest
installation
Run the following command to install the latest version:
go install -v github.com/zer0yu/dfimage@latest
or you can download the binary from releases
docker-example
❯ docker pull ruby:latest
❯ dfimage ruby:latest
FROM ruby:latest
ADD file:3e9b6405f11dd24ce62105c033f1d8b931d9409298553f63b03af1b6dd1dda35 in /
CMD ["bash"]
...
ENV GEM_HOME=/usr/local/bundle
ENV BUNDLE_SILENCE_ROOT_WARNING=1 BUNDLE_APP_CONFIG=/usr/local/bundle
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN /bin/sh -c mkdir -p "$GEM_HOME" \
&& chmod 1777 "$GEM_HOME"
CMD ["irb"]
References
- dfimage - python
- Inspiration
License
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.