Olá, obrigado pelo retorno.
Consegui com o comando:
CMD ["apachectl", "-D", "FOREGROUND"]
Dockerfile completo:
FROM ubuntu:18.04
RUN apt-get update && apt-get install -y \
software-properties-common \
tzdata
RUN echo "America/Sao_Paulo" | tee /etc/timezone && \
ln -fs /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime && \
dpkg-reconfigure -f noninteractive tzdata
RUN add-apt-repository ppa:ondrej/php -y
RUN apt-get update && apt-get install -y --allow-unauthenticated \
php7.3 \
php7.3-dev \
php7.3-xml \
php-pear \
curl \
gnupg \
libapache2-mod-php7.3 \
apache2
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
&& curl https://packages.microsoft.com/config/ubuntu/18.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
RUN apt-get update && ACCEPT_EULA=Y apt-get install -y \
msodbcsql17 \
unixodbc-dev \
&& rm -rf /var/lib/apt/lists/*
RUN pecl install sqlsrv \
&& pecl install pdo_sqlsrv
RUN printf "; priority=20\nextension=sqlsrv.so\n" > /etc/php/7.3/mods-available/sqlsrv.ini \
&& printf "; priority=30\nextension=pdo_sqlsrv.so\n" > /etc/php/7.3/mods-available/pdo_sqlsrv.ini
RUN phpenmod -v 7.3 sqlsrv pdo_sqlsrv
#RUN apt-get install -y \ libapache2-mod-php7.3 \ apache2 \ && rm -rf /var/lib/apt/lists/*
RUN a2dismod mpm_event \
&& a2enmod mpm_prefork \
&& a2enmod php7.3
CMD ["apachectl", "-D", "FOREGROUND"]
EXPOSE 80