aws-samples / aws-samples/ecs-demo-php-simple-app

Failures in Step 3

Open
#5 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
173
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

Building the Dockerfile gives errors.

**Host machine:** `cat /etc/*release`
CentOS Linux release 7.3.1611 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.3.1611 (Core)
CentOS Linux release 7.3.1611 (Core)

**Docker version** `Docker version 1.12.6, build 88a4867/1.12.6`

I built the image with `docker build username/projectname:latest .`
I noticed some errors, but just ignored them.

I ran the ran image in interactive mode and noticed that there was no apache2 binary.
I tried looking for the apache2 binary with `sudo find / -name apa*`

I also looked through /etc/ , /bin/ , /sbin/ , for any kind of apache files, but no luck

I have attached the output of the docker build command here:
[docker-output.txt](https://github.com/awslabs/ecs-demo-php-simple-app/files/1123106/docker-output.txt)

Please use` less -R `to read the `docker-output.txt `with ANSI color formatting

Contributor guide

Open the contributing guide

Research direction

Start by reading the Dockerfile and the attached docker-output.txt, then reproduce the build with the reported CentOS and Docker versions. Trace the reported build errors and verify the resulting image contains the expected apache2 binary; a successful build and working Apache setup define done.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, php
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.