docs/makefile: update docker build instructions (#442)

#cleanup

Updated the notes on refreshing docker build containers
Removed the jarsign output from the build as it contains
the jks password.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
pull/443/head
Jonathan Nobels 5 months ago committed by GitHub
parent dfda774dc0
commit 66fa3c41a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -90,7 +90,7 @@ tailscale-debug: $(DEBUG_APK) ## Build the debug APK
.PHONY: release .PHONY: release
release: jarsign-env $(RELEASE_AAB) ## Build the release AAB release: jarsign-env $(RELEASE_AAB) ## Build the release AAB
jarsigner -sigalg SHA256withRSA -digestalg SHA-256 -keystore $(JKS_PATH) -storepass $(JKS_PASSWORD) $(RELEASE_AAB) tailscale @jarsigner -sigalg SHA256withRSA -digestalg SHA-256 -keystore $(JKS_PATH) -storepass $(JKS_PASSWORD) $(RELEASE_AAB) tailscale
# gradle-dependencies groups together the android sources and libtailscale needed to assemble tests/debug/release builds. # gradle-dependencies groups together the android sources and libtailscale needed to assemble tests/debug/release builds.
.PHONY: gradle-dependencies .PHONY: gradle-dependencies

@ -66,6 +66,12 @@ If you wish to avoid installing software on your host system, a Docker based dev
make dockershell make dockershell
``` ```
Several other makefile recipes are available for setting up the proper build environment and running builds.
Note that the docker makefile recipes s will preserve the image and remove container on completion.
If changes are made to the build environment or toolchain, cached docker images may need to be rebuilt.
The docker build image name is parameterized in the makefile and changing it provides a simple means to do this.
### Nix ### Nix
If you have Nix 2.4 or later installed, a Nix development environment can If you have Nix 2.4 or later installed, a Nix development environment can

Loading…
Cancel
Save