Make docker setup work consistently cross-platform

This commit is contained in:
Yuri Sizov
2022-07-12 13:45:01 +03:00
parent 8f6d4b6764
commit 1599cd9713
3 changed files with 4 additions and 2 deletions

2
.gitattributes vendored Normal file
View File

@@ -0,0 +1,2 @@
# Normalize EOL for all files that Git considers text files
* text=auto eol=lf

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
echo "Checking if MariaDB is reachable..."
exec wait-for-it.sh mariadb:3306 -s -t 30 -- init.sh

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Only do this once.
CONTAINER_ALREADY_STARTED="/tmp/CONTAINER_ALREADY_STARTED"