-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #416 from lamarios/feature/switch_to_nix_for_bundl…
…etool Feature/switch to nix for bundletool
- Loading branch information
Showing
3 changed files
with
17 additions
and
3 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 |
---|---|---|
|
@@ -42,3 +42,4 @@ app.*.map.json | |
/android/app/debug | ||
/android/app/profile | ||
/android/app/release | ||
/docker/result |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# usage: | ||
# build the image | ||
# nix-build -o result bundletool.nix | ||
# docker load -i result | ||
# use the image as usual with name gonzague/bundletool | ||
{ | ||
pkgs ? import <nixpkgs> {system = "x86_64-linux";} | ||
}: | ||
pkgs.dockerTools.buildLayeredImage { | ||
name = "gonzague/bundletool"; | ||
tag = "latest"; | ||
contents = with pkgs; [ toybox wget bundletool aapt bash android-tools ]; | ||
} |