Skip to content

Instantly share code, notes, and snippets.

@croensch
Created January 30, 2019 08:25
Show Gist options
  • Save croensch/7b5bd12986585459a4e9c714f3a9afdc to your computer and use it in GitHub Desktop.
Save croensch/7b5bd12986585459a4e9c714f3a9afdc to your computer and use it in GitHub Desktop.
uopz101
<?php
echo PHP_VERSION . "\n";
$c = 'Bogus';
$o = new stdClass;
echo ($o instanceof $c);
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