257b143df1 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove some duplicate code in Dockerfile with the help of some variables  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce99e5c583 
								
							
								 
							
						 
						
							
							
								
								Fixed issue with building Alpine armv7 image.  
							
							
 
							
							
							The runtime image was using a very old Alpine version.
This caused issues with the catatonit install
Now using the Balena armv7hf Alpine image for this. 
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8c03746a67 
								
							
								 
							
						 
						
							
							
								
								Fixed building mysql, postgresql and sqlite3 for arm  
							
							
 
							
							
							With some apt/dpkg magic building multidb containers for arm versions
now also works. As long as the build stage and docker-image stage use
the same base (debian buster now) it should all work.
Resolves  #530 , resolves  #1066  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								8746d36845 
								
									
								
							
								 
							
						 
						
							
							
								
								Document database connection retries and change alpine repo for catatonit  
							
							
 
							
							
							(cherry picked from commit 88e3835050c0418c060c8e3a704894763ee33aa0) 
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								22b9c80007 
								
									
								
							
								 
							
						 
						
							
							
								
								Reorganize dockerfile template slightly (same result)  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								ab4355cfed 
								
									
								
							
								 
							
						 
						
							
							
								
								Updated web vault, dependencies and base docker images  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								6a8f42da8a 
								
									
								
							
								 
							
						 
						
							
							
								
								specify version of cmosh's alpine-arm  
							
							
 
							
							
							Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com> 
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b58bff1178 
								
							
								 
							
						 
						
							
							
								
								alpine arm building successfully  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								dbc082dc75 
								
									
								
							
								 
							
						 
						
							
							
								
								Update web vault to 2.16.0 and dependencies  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b5fa201aa 
								
							
								 
							
						 
						
							
							
								
								Fix the Alpine build  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								4c324e1160 
								
									
								
							
								 
							
						 
						
							
							
								
								Change Dockerfiles to make the AMD image multidb  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4559e85daa 
								
							
								 
							
						 
						
							
							
								
								Multi-arch image support  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bbef332e25 
								
							
								 
							
						 
						
							
							
								
								Dockerfile.j2: remove dead code  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d5f9b33f66 
								
							
								 
							
						 
						
							
							
								
								Add startup script to support init operations  
							
							
 
							
							
							This is useful for making local customizations upon container start. To use
this feature, mount a script into the container as `/etc/bitwarden_rs.sh`
and/or a directory of scripts as `/etc/bitwarden_rs.d`. In the latter case,
only files with an `.sh` extension are sourced, so files with other
extensions (e.g., data/config files) can reside in the same dir.
Note that the init scripts are run each time the container starts (not just
the first time), so these scripts should be idempotent. 
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								d4357eb55a 
								
									
								
							
								 
							
						 
						
							
							
								
								Updated dependencies ans web vault version  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								a1f304dff7 
								
									
								
							
								 
							
						 
						
							
							
								
								Update web vault to v2.14.0  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								4be8dae626 
								
									
								
							
								 
							
						 
						
							
							
								
								Make web vault show a more informative error when browsers block WebCrypto in insecure contexts and update dependencies  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								4e85a1dee1 
								
									
								
							
								 
							
						 
						
							
							
								
								Update web vault to 2.13.2  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4bfa1a189 
								
							
								 
							
						 
						
							
							
								
								Rebuild Dockerfiles to match latest Dockerfile.j2 template  
							
							
 
							
							
							Picks up a couple of missed changes from b837348bccf6ee79 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bbb0484d03 
								
							
								 
							
						 
						
							
							
								
								Healthcheck fixes/optimizations  
							
							
 
							
							
							* Switch healthcheck interval/timeout from 30s/3s to 60s/10s.
  30s interval is arguably overkill, and 3s timeout is definitely too short
  for lower end machines.
* Use HEALTHCHECK CMD exec form to avoid superfluous `sh` invocations.
* Add `--silent --show-error` flags to curl call to avoid progress meter being
  shown in healthcheck logs. 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fdf50f0064 
								
							
								 
							
						 
						
							
							
								
								Update healthcheck script to handle alternate base dir  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b837348b25 
								
							
								 
							
						 
						
							
							
								
								Build as static  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								edabf19ddf 
								
									
								
							
								 
							
						 
						
							
							
								
								Update vault to 2.13.1  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								b6612e90ca 
								
									
								
							
								 
							
						 
						
							
							
								
								Update dependencies  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								edfdda86ae 
								
									
								
							
								 
							
						 
						
							
							
								
								Use web vault built by docker autobuild, using the hash to reference the image for extra security  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								0a3008e753 
								
									
								
							
								 
							
						 
						
							
							
								
								Update web vault used in docker  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								916e96b143 
								
									
								
							
								 
							
						 
						
							
							
								
								Update web vault to fix copy issues  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								84ed185579 
								
									
								
							
								 
							
						 
						
							
							
								
								Update u2f to 0.2, which requires OpenSSL but also might solve the problems we've had with certificates.  
							
							
 
							
							
							The rust image doesn't need installing curl or tar, so removed. Also collapsed ENV lines. 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								a3b30ed65a 
								
									
								
							
								 
							
						 
						
							
							
								
								Add missing target armv7 and cross compile envs  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								402c857d17 
								
									
								
							
								 
							
						 
						
							
							
								
								Add hint to Dockerfile's that they are generated  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								def858854b 
								
									
								
							
								 
							
						 
						
							
							
								
								Readd missing cargo build for armv7. Thanks to  @dani-garcia !  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								f6761ac30e 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove debugging echo statement from Dockerfiles  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								f8e49ea3f4 
								
									
								
							
								 
							
						 
						
							
							
								
								Use apt-get instead of apt in Dockerfiles, also --no-install-recommends  
							
							
 
							
							
							apt is intended for humans, not scripts.
--no-install-recommends improves build time by avoiding to install
unneeded packages. 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								f6a4a2127b 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove duplicate empty lines in generated Dockerfiles  
							
							
 
							
							
							Checked with:
```Shell
find . -type f -print0 | xargs -0 pcregrep -M '\n\n\n'
``` 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								446fc3f1f8 
								
									
								
							
								 
							
						 
						
							
							
								
								Set build time options for dpkg and reproducible builds  
							
							
 
							
							
							Ref: https://github.com/moby/moby/issues/4032 
Ref: https://sweetcode.io/using-docker-reproducible-build-environments/ 
Ref: https://github.com/hashbang/aosp-build/blob/master/config/container/Dockerfile  
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								146525db91 
								
									
								
							
								 
							
						 
						
							
							
								
								Improve Jinja2 template logic a bit  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								1698b43f9b 
								
									
								
							
								 
							
						 
						
							
							
								
								Readd missing cargo setup for armv7. Thanks to  @dani-garcia !  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								078b21db85 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix armv6 build, thanks to  @dani-garcia  for the review!  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								43adcde094 
								
									
								
							
								 
							
						 
						
							
							
								
								Move `rustup target` before `cargo build`. Thanks to  @dani-garcia !  
							
							
 
							
							
							Note from @dani-garcia :
> I don't think this is doing anything right now because the target is probably
> installed already. 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								7a0bb18dcf 
								
									
								
							
								 
							
						 
						
							
							
								
								Make `cargo new` independent of workdir to be exact  
							
							
 
							
							
							The muslrust images seem to have a workdir of /volume as opposed to / in the
others so doing cargo new like this would create the folder in /volume/app. 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								47a5a4e1fc 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix package name for Ubuntu 16.04 based image. Thanks  @dani-garcia !  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								0f0e5876ae 
								
									
								
							
								 
							
						 
						
							
							
								
								Move `dpkg --add-architecture` before the first apt call  
							
							
 
							
							
							Thanks to @dani-garcia  for the review! 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								43aa75dc89 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix cross platform build support, thanks to  @dani-garcia  for the review  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								8280d200ea 
								
									
								
							
								 
							
						 
						
							
							
								
								Generate Dockerfiles from one source for maintainability.  Closes   #785 .  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								f250c54813 
								
									
								
							
								 
							
						 
						
							
							
								
								WIP: Use Debian base image for all steps of the build process  
							
							
 
							
							
							No need to use two different base images. Debian buster is pulled later
anyway so we can just use it for the vault stage as well.
My reason for this change is partly to avoid redundancy and partly to
make it easier to build everything yourself. When all the build
environment is based on Debian than you just have to figure out how to
build a Debian Docker base image (ref:
https://github.com/ypid/docker-makefile ). 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								4cec502f7b 
								
									
								
							
								 
							
						 
						
							
							
								
								Update docker images to alpine 3.11 and rust 1.40  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								cf5a985b31 
								
									
								
							
								 
							
						 
						
							
							
								
								Updated rust images and enabled minimal profile  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								cbadf00941 
								
									
								
							
								 
							
						 
						
							
							
								
								Update web vault to fix twofactorauth.org integration  
							
							
 
							
							
							Update dependencies and toolchain
Update included equivalent domains with upstream changes 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								748c825202 
								
							
								 
							
						 
						
							
							
								
								cleaner startup exec in order to build the image and run the container with podman/libpod  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								204993568a 
								
							
								 
							
						 
						
							
							
								
								cleaner startup exec in order to build the image and run the container with podman/libpod  
							
							
								
 
							
							
						 
						6 years ago