augustohp / ship Goto Github PK
View Code? Open in Web Editor NEWAids you creating a `Dockerfile` by transforming its (interactive shell) history into `RUN` instructions
License: MIT License
Aids you creating a `Dockerfile` by transforming its (interactive shell) history into `RUN` instructions
License: MIT License
Some might not be relevant anymore.
An example of workflow I am interested in:
$ docker run -di --name www-php -v "${PWD}:/var/www" -w "/var/wwww" -p 8080:80 php:7.2-apache
history
like:
$ docker exec -it www-php bash
$ pecl install xdebug-2.6.0
$ docker-php-ext-enable xdebug
$ php bin/setup.php
The idea would be to use ship
instead of docker run
, enabling us to create a Dockerfile
while we discover what is needed.
The image must have bash installed.
This sentence is wrong, as the shell is detected and no direct dependency on bash
is used (ash
can be used as well).
When I'm installing the script with sinister, the name becomes fjhO5
Example:
$ sh <(curl -sSL http://git.io/sinister) --local --chmod 755 --url https://git.io/fjhO5
fjhO5 was installed successfully
I saw that sinister has the parameter --name
, but it didn't work well.
So just used mv
sh <(curl -sSL http://git.io/sinister) --local --chmod 755 --url https://git.io/fjhO5 && mv ~/bin/fjhO5 ~/bin/ship
But it will not be sustainable hehe.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.