Skip to content

Commit

Permalink
wip: Enhance docker build to decrease image size #93
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Nouguier committed Nov 10, 2019
1 parent 86bdd66 commit 3cf39c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ then
# FIXME: building Kano raises travis error related to the output log => override the
# output to a file and push it to S3. Be careful if the building process come to take
# more than 10 minutes, Travis will stop
docker-compose -f deploy/app.yml -f deploy/app.build.yml build > build.log 2>&1
docker-compose -f deploy/app.yml -f deploy/app.build.yml build #> build.log 2>&1
ERROR_CODE=$?
# Copy the log whatever the result
aws s3 cp build.log s3://$BUILDS_BUCKET/$BUILD_NUMBER/build.log
Expand Down
2 changes: 1 addition & 1 deletion dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ RUN \
git clone https://github.com/weacast/weacast-leaflet.git -b master --single-branch && cd weacast-leaflet && yarn && yarn link weacast-core && yarn link && cd .. && \
yarn link weacast-core && \
yarn link weacast-leaflet && \
yarn build
yarn build > build.log 2>&1

#
# Run stage
Expand Down

0 comments on commit 3cf39c5

Please sign in to comment.