Skip to content

Commit

Permalink
Don't send .git folder to Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
milianw committed Jan 9, 2019
1 parent 5604de2 commit b6a6508
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
build*/
*.zst
*.gz
*.AppImage
*.AppImage
.git
2 changes: 1 addition & 1 deletion tools/build_appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ WRAPPER_SCRIPT
chmod +x ./appdir/AppRun

# Actually create the final image
appimagetool ./appdir $OUTDIR/heaptrack-$(git describe)-x86_64.AppImage
appimagetool ./appdir $OUTDIR/heaptrack-x86_64.AppImage
2 changes: 1 addition & 1 deletion tools/build_appimage_in_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ fi

sudo docker build -t heaptrack_appimage -f tools/Dockerfile . || exit 1
sudo docker run -v /tmp/heaptrack-appimage-artifacts:/artifacts -it heaptrack_appimage
mv /tmp/heaptrack-appimage-artifacts/heaptrack-*.AppImage .
mv /tmp/heaptrack-appimage-artifacts/heaptrack-x86_64.AppImage heaptrack-$(git describe)-x86_64.AppImage
ls -latr heaptrack-*.AppImage | tail -n 1

0 comments on commit b6a6508

Please sign in to comment.