Skip to content

Commit ca50fca

Browse files
committed
fixed dos 2 unix issues
1 parent 33a74ba commit ca50fca

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

developer-tools/java-debugging/docker-compose.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "3"
1+
version: "2"
22

33
services:
44

@@ -30,3 +30,4 @@ services:
3030
- "8000:8000"
3131
restart: always
3232

33+

developer-tools/java-debugging/registration-database/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mysql:5.6
1+
FROM mysql:latest
22

33
# Copy the database initialize script:
44
# Contents of /docker-entrypoint-initdb.d are run on mysqld startup

developer-tools/java-debugging/registration-database/docker-entrypoint-initdb.d/initialize_db.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ USE `dockercon2035`;
22

33
CREATE TABLE `user` (
44
`id` bigint(20) NOT NULL AUTO_INCREMENT,
5-
`dateOfBirth` datetime NOT NULL,
5+
`dateOfBirth` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ,
66
`emailAddress` varchar(255) NOT NULL,
77
`firstName` varchar(255) NOT NULL,
88
`lastName` varchar(255) NOT NULL,
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

3-
exec ${CATALINA_HOME}/bin/catalina.sh jpda run
3+
exec ${CATALINA_HOME}/bin/catalina.sh jpda run

0 commit comments

Comments
 (0)