Skip to content

Commit e73d69e

Browse files
authored
Use Ubuntu 22.04 for SQL Server. 24.04 is not fully supported yet. (#1457)
1 parent 3e476dd commit e73d69e

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

src/ubuntu/24.04/helix/sqlserver/amd64/Dockerfile renamed to src/ubuntu/22.04/helix/sqlserver/amd64/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-24.04-helix-amd64
1+
FROM mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-helix-amd64
22

33
USER root
44

@@ -22,6 +22,6 @@ RUN groupadd -g 1000 sqlserver_users \
2222
&& chgrp -R sqlserver_users /var/opt/mssql \
2323
&& chmod -R 770 /var/opt/mssql
2424

25-
CMD ["/opt/mssql/bin/sqlservr"]
25+
CMD ["/opt/mssql/bin/sqlservr", "--accept-eula"]
2626

2727
USER helixbot

src/ubuntu/manifest.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,20 @@
122122
}
123123
]
124124
},
125+
{
126+
"platforms": [
127+
{
128+
"architecture": "amd64",
129+
"dockerfile": "src/ubuntu/22.04/helix/sqlserver/amd64",
130+
"os": "linux",
131+
"osVersion": "jammy",
132+
"tags": {
133+
"ubuntu-22.04-helix-sqlserver": {},
134+
"ubuntu-22.04-helix-sqlserver-amd64": {}
135+
}
136+
}
137+
]
138+
},
125139
{
126140
"platforms": [
127141
{
@@ -231,20 +245,6 @@
231245
}
232246
]
233247
},
234-
{
235-
"platforms": [
236-
{
237-
"architecture": "amd64",
238-
"dockerfile": "src/ubuntu/24.04/helix/sqlserver/amd64",
239-
"os": "linux",
240-
"osVersion": "noble",
241-
"tags": {
242-
"ubuntu-24.04-helix-sqlserver": {},
243-
"ubuntu-24.04-helix-sqlserver-amd64": {}
244-
}
245-
}
246-
]
247-
},
248248
{
249249
"platforms": [
250250
{

0 commit comments

Comments
 (0)