Git Product home page Git Product logo

ship's Issues

Accept all `docker run` options

An example of workflow I am interested in:

  1. Someone appears with a doubt and some code I can run, it doesn't have Docker;
  2. I clone the repository and start a container for it:
    $ docker run -di --name www-php -v "${PWD}:/var/www" -w "/var/wwww" -p 8080:80 php:7.2-apache
    
  3. Now a bunch of dependencies are installed, amounting to a 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.

File name become the url path

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.