Skip to content

Commit

Permalink
chore: transfer to sysdynetechnologies organization
Browse files Browse the repository at this point in the history
  • Loading branch information
Hagith committed Apr 11, 2024
1 parent c7a0c28 commit c2d3033
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
FROM mcr.microsoft.com/mssql/server

LABEL version="1.0"
LABEL description="Extension of the mcr.microsoft.com/mssql/server docker image to support initdb scripts"
LABEL maintainer="ModernWeb"
LABEL maintainer="Sysdyne Technologies"

USER root

# Install SqlPackage - https://docs.microsoft.com/en-us/sql/tools/sqlpackage
RUN apt-get update && apt-get install unzip
RUN wget -q --show-progress -O sqlpackage.zip https://go.microsoft.com/fwlink/?linkid=2102978
RUN wget -q --show-progress -O sqlpackage.zip https://go.microsoft.com/fwlink/?linkid=2261577
RUN unzip -qo sqlpackage.zip -d /opt/sqlpackage && chmod +x /opt/sqlpackage/sqlpackage

ENV PATH $PATH:/opt/mssql-tools/bin:/opt/sqlpackage
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ It adds functionality to initialize a fresh instance. When a container is starte
* From Docker Hub

```
docker run -p 1433:1433 --name mssql -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=Strong(!)Password' -v $PWD/initdb.d:/docker-entrypoint-initdb.d -d modernweb/mssql-server
docker run -p 1433:1433 --name mssql -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=Strong(!)Password' -v $PWD/initdb.d:/docker-entrypoint-initdb.d -d ghcr.io/sysdynetechnologies/mssql-server
```

* From this repo using docker-compose:
Expand All @@ -23,8 +23,8 @@ _NOTE: You can adjust `.env` values to your needs._
## Additional information:

* Linux-based mssql-docker [git repo](https://github.com/microsoft/mssql-docker/tree/master/linux)
* Running [SQL Server on Linux](https://docs.microsoft.com/en-us/sql/linux/) on top of an Ubuntu 16.04 base image.
* Make sure that the .sh files have UNIX-style (LF) line endings. Depending on your platform and Git configuration, Git may change them to Windows-style (CR+LF). In this case, the container won't start, and you may see a non-informative error message like:
```
standard_init_linux.go:195: exec user process caused "no such file or directory"'.
```
* Running [SQL Server on Linux](https://docs.microsoft.com/en-us/sql/linux/).
* Make sure that the `.sh` files have UNIX-style (LF) line endings. Depending on your platform and Git configuration, Git may change them to Windows-style (CR+LF). In this case, the container won't start, and you may see a non-informative error message like:
```
standard_init_linux.go:195: exec user process caused "no such file or directory"'.
```
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
version: "3"

services:
server:
build: .
image: modernweb/mssql-server
image: ghcr.io/sysdynetechnologies/mssql-server
container_name: mssql
ports:
- "1433:1433"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"down": "docker-compose down",
"build": "docker-compose build",
"sqlcmd": "docker-compose exec server sqlcmd -U sa",
"push": "docker push modernweb/mssql-server:latest",
"push": "docker push ghcr.io/sysdynetechnologies/mssql-server:latest",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
Expand Down

0 comments on commit c2d3033

Please sign in to comment.