You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Working Directory: D:/bref-extra/trader-php-74/layers/trader/
Docker file placed in Above Working Directory
Dockerfile
FROM bref/build-php-73 AS ext
ENV LD_LIBRARY_PATH=/usr/lib:/usr/lib64:$LD_LIBRARY_PATH
RUN yum -y install amazon-linux-extras
RUN amazon-linux-extras install epel -y
RUN yum install -y trader
RUN echo 'extension=/opt/bref-extra/trader.so' > /tmp/ext.ini
# Build the final image with just the files we need
FROM scratch
# Copy things we installed to the final image
COPY --from=ext /usr/lib64/php/modules/trader.so /opt/bref-extra/trader.so
COPY --from=ext /tmp/ext.ini /opt/bref/etc/php/conf.d/ext-trader.ini
Activity