File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM mcr.microsoft.com/mssql/server:2025-latest
2+ USER root
3+
4+ # See https://github.com/microsoft/mssql-docker/blob/master/linux/preview/examples/mssql-agent-fts-ha-tools/Dockerfile
5+ # for details
6+ RUN export DEBIAN_FRONTEND=noninteractive
7+ RUN apt-get update
8+
9+ #Actualize time zone database
10+ RUN apt-get install -y tzdata
11+ RUN apt-get install -yq curl
12+ RUN apt-get install -yq apt-transport-https
13+ RUN apt-get install -y gnupg2
14+ RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
15+ RUN curl https://packages.microsoft.com/config/ubuntu/24.04/mssql-server-2025.list | tee /etc/apt/sources.list.d/mssql-server.list
16+ RUN apt-get update
17+ RUN apt-get install -y mssql-server-fts
18+ RUN apt-get clean
19+ RUN rm -rf /var/lib/apt/lists
20+
21+ # Create a config directory
22+ RUN mkdir -p /usr/config
23+ WORKDIR /usr/config
24+
25+ # Bundle config source
26+ COPY configure-db.sh /usr/config/
27+ COPY entrypoint.sh /usr/config/
28+ COPY setup.sql /usr/config/
29+
30+ # Grant permissions for to our scripts to be executable
31+ RUN chmod +x /usr/config/entrypoint.sh
32+ RUN chmod +x /usr/config/configure-db.sh
33+
34+ ENTRYPOINT ["./entrypoint.sh"]
You can’t perform that action at this time.
0 commit comments