-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use podman for container image builds
Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
- Loading branch information
1 parent
125e9b8
commit bbab44c
Showing
5 changed files
with
49 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
*.orig | ||
*.sqlite3* | ||
*.tar | ||
*.tix | ||
.ghc.environment.* | ||
.sass-cache | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
#!/usr/bin/env bash | ||
if [ ! -f $1 ]; then | ||
echo "File '$1' does not exist" | ||
if [ ! -x "$1" ]; then | ||
echo "File is not executable" | ||
exit 1 | ||
fi | ||
|
||
file $1 | grep "statically linked" | grep -q stripped | ||
if [ $? -ne 0 ]; then | ||
echo "Binary does not seem to be statically linked" | ||
if ! file "$1" | grep "statically linked" | grep -q stripped; then | ||
echo "Binary is not statically linked and stripped" | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ pkgs.stdenv.mkDerivation { | |
haskellPackages.yesod-bin | ||
hlint | ||
nix-prefetch-git | ||
podman | ||
sass | ||
sqlite | ||
wget | ||
|