Skip to content

Dockerfile fails to start #70

@athamour1

Description

@athamour1

Dockerfile crashes when it pulls the dependencies, maybe the packets are deprecated, I will try to find what's wrong.
The log that I get is the following

error messages
❯ docker build .
Sending build context to Docker daemon  1.071MB
Step 1/11 : FROM kstaken/apache2
 ---> 2dde0ff8b71b
Step 2/11 : LABEL name "my-docker-deployment"
 ---> Using cache
 ---> ff0426b04dc4
Step 3/11 : RUN apt-get update && apt-get install -y php5 curl git zip libapache2-mod-php5 php5-mysql php5-cli && apt-get clean && rm -rf /var/lib/apt/lists/*
 ---> Running in 0666894d0f55
Ign http://archive.ubuntu.com precise InRelease
Ign http://archive.ubuntu.com precise Release.gpg
Ign http://archive.ubuntu.com precise Release
Ign http://archive.ubuntu.com precise/main TranslationIndex
Err http://archive.ubuntu.com precise/main amd64 Packages
  404  Not Found [IP: 185.125.190.39 80]
Err http://archive.ubuntu.com precise/main i386 Packages
  404  Not Found [IP: 185.125.190.39 80]
Ign http://archive.ubuntu.com precise/main Translation-en
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/main/binary-amd64/Packages  404  Not Found [IP: 185.125.190.39 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found [IP: 185.125.190.39 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c apt-get update && apt-get install -y php5 curl git zip libapache2-mod-php5 php5-mysql php5-cli && apt-get clean && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions