Code Monkey home page Code Monkey logo

Comments (3)

guestisp avatar guestisp commented on September 4, 2024

The same happens when trying to use php platform:

$ tsuru-admin platform-add php -d https://raw.githubusercontent.com/tsuru/platforms/master/php/Dockerfile
Step 1 : FROM tsuru/base-platform
Pulling from tsuru/base-platform
Digest: sha256:922d4c495938d4de04ff91e9180b63faa40b30a56ade21c6f2bcef235004a28f
Status: Downloaded newer image for tsuru/base-platform:latest
 ---> b0c3d41bee57
Step 2 : RUN echo 'deb http://archive.ubuntu.com/ubuntu/ vivid main restricted universe multiverse' >> /etc/apt/sources.list
 ---> Running in b4fb6f30e2ec
 ---> 75d07f544e03
Removing intermediate container b4fb6f30e2ec
Step 3 : RUN echo 'deb http://archive.ubuntu.com/ubuntu/ vivid-security main restricted universe multiverse' >> /etc/apt/sources.list
 ---> Running in 6840955b568a
 ---> 4106abdf909e
Removing intermediate container 6840955b568a
Step 4 : RUN echo 'APT::Default-Release "trusty";' >> /etc/apt/apt.conf.d/01ubuntu
 ---> Running in 406f36bdc722
 ---> d6d8ff1c7a9b
Removing intermediate container 406f36bdc722
Step 5 : ADD . /var/lib/tsuru/php
 ---> d5884312f9bb
Removing intermediate container 5340d2c86bf6
Step 6 : RUN cp /var/lib/tsuru/php/deploy /var/lib/tsuru
 ---> Running in 1d888cc0401b
cp: cannot stat ‘/var/lib/tsuru/php/deploy’: No such file or directory
error in docker node "http://127.0.0.1:2375": The command '/bin/sh -c cp /var/lib/tsuru/php/deploy /var/lib/tsuru' returned a non-zero code: 1
Error: Failed to add new platform.

from platforms.

fsouza avatar fsouza commented on September 4, 2024

@guestisp platforms in this repository are automatically built by Docker Hub. In order to use then prebuilt, you need to either have tsurud 0.13+ and just run tsuru-admin platform-add [platform-name] or use the Dockerfiles in the basebuilder project (you can see that the Dockerfile source is very simple).

There are instructions here: https://github.com/tsuru/platforms#installing-platforms.

In your case, the command should be:

% tsuru-admin platform-add buildpack -d https://raw.githubusercontent.com/tsuru/basebuilder/master/buildpack/Dockerfile

Some background is available at tsuru/basebuilder#98.

from platforms.

guestisp avatar guestisp commented on September 4, 2024

Solved with your suggestion

from platforms.

Related Issues (20)

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.