dbbuild.dockerfile 656 B

1234567891011121314151617181920
  1. FROM mcr.microsoft.com/mssql/server AS build
  2. ARG TZ=Europe/London
  3. USER root
  4. WORKDIR /root
  5. ADD ./res/azureds.tgz .
  6. RUN apt-get update \
  7. && DEBIAN_FRONTEND="noninteractive" apt-get install -y tzdata unzip dotnet-sdk-3.1 git ssh \
  8. && ln -sf /usr/share/zoneinfo/$TZ /etc/localtime \
  9. && echo $TZ > /etc/timezone
  10. # Install SQLPackage for Linux and make it executable
  11. RUN wget --progress=bar:force -q -O sqlpackage.zip https://go.microsoft.com/fwlink/?linkid=2143497 \
  12. && unzip -qq sqlpackage.zip -d /opt/sqlpackage \
  13. && rm sqlpackage.zip \
  14. && chmod +x /opt/sqlpackage/sqlpackage
  15. # USER mssql
  16. ENTRYPOINT [ "echo", "This container cannot be run" ]