Created
January 30, 2019 08:25
-
-
Save croensch/7b5bd12986585459a4e9c714f3a9afdc to your computer and use it in GitHub Desktop.
uopz101
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo PHP_VERSION . "\n"; | |
$c = 'Bogus'; | |
$o = new stdClass; | |
echo ($o instanceof $c); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM amazonlinux:2 | |
RUN amazon-linux-extras install epel | |
RUN amazon-linux-extras install php7.2=7.2.13 | |
RUN yum install -y http://rpms.remirepo.net/enterprise/remi-release-7.rpm && \ | |
yum install -y yum-utils && \ | |
yum-config-manager --enable remi-safe | |
RUN yum install -y --enablerepo=remi-php72 php-mbstring php-pecl-libsodium | |
RUN yum install -y --enablerepo=remi-php72 php-pecl-uopz-5.1.0 | |
COPY bogus.php . | |
ENTRYPOINT ["php"] | |
CMD ["bogus.php"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment