Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Container Hack - Update dockerfile to add permissions for sql_data_init.sh #134

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion byos/containers/deploy/dataload/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ COPY data_load data_load
COPY sql_data_init.sh .
COPY MYDrivingDB.sql .

ENTRYPOINT [ "/bin/bash","-c", "./sql_data_init.sh -s $SQLFQDN -u $SQLUSER -p $SQLPASS -d $SQLDB"]
RUN chmod +x ./sql_data_init.sh
ENTRYPOINT [ "/bin/bash","-c", "./sql_data_init.sh -s $SQLFQDN -u $SQLUSER -p $SQLPASS -d $SQLDB"]