aws-samples / ecs-demo-php-simple-app Goto Github PK
View Code? Open in Web Editor NEWA simple PHP sample application http://aws.amazon.com/ecs
License: Apache License 2.0
A simple PHP sample application http://aws.amazon.com/ecs
License: Apache License 2.0
If you go to step 3 of this link: https://docs.aws.amazon.com/AWSGettingStartedContinuousDeliveryPipeline/latest/GettingStarted/ECS_CD_Pipeline.html
and you click that Launch Stack, the template is nowhere to be found in that dropdown menu; was it moved somewhere else maybe?
Tried https://stackoverflow.com/questions/48868357/docker-php-apache-container-set-the-servername-directive-globally?rq=1 but no luck
any other workaround
Shouldn't line 31 contain "http:" ?
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
Please useless -R
to read the docker-output.txt
with ANSI color formatting
Enabling module authz_groupfile.
Enabling module authn_file.
Enabling module authz_host.
Enabling module reqtimeout.
Setting up apache2-mpm-prefork (2.2.22-1ubuntu1.11) ...
invoke-rc.d: policy-rc.d denied execution of start.
Setting up apache2 (2.2.22-1ubuntu1.11) ...
Setting up liberror-perl (0.17-1) ...
Setting up git (1:1.7.9.5-1ubuntu0.3) ...
Setting up libapache2-mod-php5 (5.3.10-1ubuntu3.26) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Creating config file /etc/php5/apache2/php.ini with new version
invoke-rc.d: policy-rc.d denied execution of restart.
Setting up php5 (5.3.10-1ubuntu3.26) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
openssh-client
ssl-cert
E: Sub-process /usr/bin/dpkg returned an error code (1)
The command '/bin/sh -c apt-get install -y git curl apache2 php5 libapache2-mod-php5 php5-mcrypt php5-mysql' returned a non-zero code: 100
apt-get update does not work properly.
Err http://archive.ubuntu.com precise-security/main amd64 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com precise-security/restricted amd64 Packages
404 Not Found [IP: 91.189.91.13 80]
After change to Ubuntu:14.04, everything goes well.
Seems Ubuntu:12.04 is not supported any more.
Hi Team,
I am trying to use the amazon/amazon-ecs-sample image on arm64 platform but it seems it is not available for arm64.
I have successfully built the image using the command docker build -t image_name . on the arm64 platform without any changes in the Dockerfile.
I have used Travis-CI to build and push the image for both the platforms.
Commit Link - odidev@b4efb5c
Travis link - https://travis-ci.com/github/odidev/ecs-demo-php-simple-app/builds/221144015
Docker Hub Link - https://hub.docker.com/r/odidev/amazon-ecs-sample/tags?page=1&ordering=last_updated
Do you have any plans on releasing arm64 images?
If interested, I will raise a PR.
The Dockerfile uses amazonlinux:2
from Docker Hub, which causes the build stage to fail if it's unable to pull the image due to having achieved the max quota for anonymous pulls.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.