mirror of
				https://github.com/dani-garcia/vaultwarden.git
				synced 2025-10-31 02:08:20 +02:00 
			
		
		
		
	Fix #603 and remove mysql from sqlite image
This changes the healthcheck to use `sh` instead of bash, that is absent from some image versions. (like alpine) It also removes `*mariadb*` packages from runtime image of sqlite images as these shouldn't be required.
This commit is contained in:
		| @@ -81,6 +81,7 @@ RUN apt-get update && apt-get install -y \ | ||||
|     --no-install-recommends \ | ||||
|     openssl \ | ||||
|     ca-certificates \ | ||||
|     curl \ | ||||
|     libmariadbclient-dev \ | ||||
|  && rm -rf /var/lib/apt/lists/* | ||||
|  | ||||
| @@ -99,7 +100,7 @@ COPY --from=build /app/target/aarch64-unknown-linux-gnu/release/bitwarden_rs . | ||||
|  | ||||
| COPY docker/healthcheck.sh ./healthcheck.sh | ||||
|  | ||||
| HEALTHCHECK --interval=10s --timeout=1s CMD bash healthcheck.sh || exit 1 | ||||
| HEALTHCHECK --interval=10s --timeout=1s CMD sh healthcheck.sh || exit 1 | ||||
|  | ||||
| # Configures the startup! | ||||
| CMD ["./bitwarden_rs"] | ||||
		Reference in New Issue
	
	Block a user