Giter VIP home page Giter VIP logo

Comments (8)

narendravaghela avatar narendravaghela commented on May 20, 2024

@robertnac Which branch are you using?

from docker-compose-lamp.

robertnac avatar robertnac commented on May 20, 2024

from docker-compose-lamp.

rohdef avatar rohdef commented on May 20, 2024

I get something more or less identical, checkout out 7.2.x as described in the readme:

rohdef@kaylee ~/g/docker-compose-lamp> docker-compose up -d
Creating network "docker-compose-lamp_default" with the default driver
Building mysql
Step 1/1 : FROM mysql:5.7
 ---> ae6b78bedf88
Successfully built ae6b78bedf88
Successfully tagged docker-compose-lamp_mysql:latest
WARNING: Image for service mysql was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Building webserver
Step 1/27 : FROM php:7.2-apache
 ---> ae0cd2ac1555
Step 2/27 : RUN apt-get -y update --fix-missing
 ---> Using cache
 ---> d43489184fa6
Step 3/27 : RUN apt-get upgrade -y
 ---> Using cache
 ---> 7c897de86ce0
Step 4/27 : RUN apt-get -y install apt-utils nano wget dialog
 ---> Running in f5ad6a051cc5
Reading package lists...
Building dependency tree...
Reading state information...
Package dialog is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package apt-utils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  apt

E: Package 'apt-utils' has no installation candidate
E: Unable to locate package nano
E: Unable to locate package wget
E: Package 'dialog' has no installation candidate
ERROR: Service 'webserver' failed to build: The command '/bin/sh -c apt-get -y install apt-utils nano wget dialog' returned a non-zero code: 100

from docker-compose-lamp.

rohdef avatar rohdef commented on May 20, 2024

I've tested it in both Ubuntu 18.04 and 18.10 btw.

from docker-compose-lamp.

rohdef avatar rohdef commented on May 20, 2024

Tried doing an install on a complete clean system, output changed slightly. It also had the following warnings:

e60049bf081a: Pull complete
Digest: sha256:44f9190e4ac97d6f67aa100aeb1559b283d7859f276a4d01d770e74d76b71f45
Status: Downloaded newer image for php:7.2-apache
 ---> 342a9fa6554c
Step 2/27 : RUN apt-get -y update --fix-missing
 ---> Running in 2d0d40449b25
Err:1 http://deb.debian.org/debian stretch InRelease
  Temporary failure resolving 'deb.debian.org'
Err:2 http://security.debian.org/debian-security stretch/updates InRelease
  Temporary failure resolving 'security.debian.org'
Err:3 http://deb.debian.org/debian stretch-updates InRelease
  Temporary failure resolving 'deb.debian.org'
Err:4 http://security.debian.org/debian-security buster/updates InRelease
  Temporary failure resolving 'security.debian.org'
Err:5 http://deb.debian.org/debian buster InRelease
  Temporary failure resolving 'deb.debian.org'
Err:6 http://deb.debian.org/debian buster-updates InRelease
  Temporary failure resolving 'deb.debian.org'
Reading package lists...
W: Failed to fetch http://deb.debian.org/debian/dists/stretch/InRelease  Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/InRelease  Temporary failure resolving 'security.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/InRelease  Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease  Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://security.debian.org/debian-security/dists/buster/updates/InRelease  Temporary failure resolving 'security.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease  Temporary failure resolving 'deb.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Removing intermediate container 2d0d40449b25
 ---> d5868f20638a
Step 3/27 : RUN apt-get upgrade -y
 ---> Running in 6606883ba0fe

from docker-compose-lamp.

rohdef avatar rohdef commented on May 20, 2024

Ooook, turns out the docker in the apt repositories is outdated. Got it up and running now. I uninstalled the docker and docker-composer from apt, then installed using snap in stead

from docker-compose-lamp.

narendravaghela avatar narendravaghela commented on May 20, 2024

@robertnac Could you please try the solution proposed by @rohdef ?

I am closing it. Please reopen if the issue is still present.

from docker-compose-lamp.

danilopimenta avatar danilopimenta commented on May 20, 2024

@robertnac and @narendravaghela
try put this on bin/webserver/Dockerfile

RUN echo deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse \
         deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse \
         deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse \
         deb http://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse \
         deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse >> /etc/apt/sources.list

it Work for me

from docker-compose-lamp.

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.