Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codebuild fails in d middle of the Dockerfile #425

Open
manojerrysundar opened this issue Dec 6, 2023 · 0 comments
Open

codebuild fails in d middle of the Dockerfile #425

manojerrysundar opened this issue Dec 6, 2023 · 0 comments

Comments

@manojerrysundar
Copy link

Install PHP Redis

RUN apt-get install -y autoconf wget build-essential --ignore-engines &&
wget https://pecl.php.net/get/redis-5.3.7.tgz &&
tar xzf redis-5.3.7.tgz &&
cd redis-5.3.7 &&
phpize &&
./configure &&
make &&
make install &&
echo "extension=redis.so" >> /usr/local/etc/php/php.ini-development &&
echo "extension=redis.so" >> /usr/local/etc/php/php.ini-production &&
apt-get purge --autoremove -y autoconf wget build-essential &&
cd .. &&
rm redis-5.3.7.tgz &&
rm -rf redis-5.3.7

while executing this command codebuild fails and shows some error

ERROR: failed to solve: process "/bin/sh -c apt-get install -y autoconf wget build-essential --ignore-engines && wget https://pecl.php.net/get/redis-5.3.7.tgz && tar xzf redis-5.3.7.tgz && cd redis-5.3.7 && phpize && ./configure && make && make install && echo "extension=redis.so" >> /usr/local/etc/php/php.ini-development && echo "extension=redis.so" >> /usr/local/etc/php/php.ini-production && apt-get purge --autoremove -y autoconf wget build-essential && cd .. && rm redis-5.3.7.tgz && rm -rf redis-5.3.7" did not complete successfully: exit code: 100

pls help me to resolve this issue if someone knows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant