SNRK-100: Fix local problems with docker, Update scripts
This commit is contained in:
parent
156ef5ce0f
commit
0bc0f63131
@ -16,10 +16,10 @@ COPY . .
|
||||
|
||||
RUN ./requirments.sh
|
||||
|
||||
RUN ./gradlew clean build
|
||||
RUN bash -c "source ~/.sdkman/bin/sdkman-init.sh && ./gradlew clean build"
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
RUN mkdir -p ~/.aws/ && ln -s /run/secrets/credentials.json ~/.aws/credentials.json
|
||||
|
||||
CMD ./gradlew :snark-main:run_server
|
||||
CMD bash -c "source ~/.sdkman/bin/sdkman-init.sh && ./gradlew :snark-main:run_server"
|
@ -5,8 +5,6 @@ set -e
|
||||
apt-get update
|
||||
apt-get install -y sudo
|
||||
|
||||
sudo apt-get install -y kotlin
|
||||
|
||||
for dir in ./*/
|
||||
do
|
||||
if [[ $dir == *'snark'* ]]
|
||||
@ -17,8 +15,9 @@ do
|
||||
then
|
||||
|
||||
cd ci
|
||||
|
||||
./requirments.sh
|
||||
if [[ -f requirements.sh ]]; then
|
||||
./requirments.sh
|
||||
fi
|
||||
|
||||
cd ..
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user