12 Commits
Author SHA1 Message Date
Nico Isenbeck 2520b168b2 Fix build for vaultwarden 1.30.0 2023-11-10 15:17:15 +01:00
Nico Isenbeck 9ad722c6f3 Add support for arm64 and some minor postinst improvements 2023-04-24 17:14:09 +02:00
Robin Schneider 0d8d6858fc Do not build unneeded runtime image (#43)
The runtime image was not the last stage thus it was always build and
left as untagged image. We can improve that. Refer to the docs for the
`docker build --target` option:

> Commands after the target stage will be skipped.

Ref: https://docs.docker.com/engine/reference/commandline/build/#specifying-target-build-stage---target

This commit simply moves the dpkg build stage patch above the runtime
image stage.
2022-12-30 15:16:48 +01:00
ydylla 73ebe86441 fix: remove references to Rocket.toml (#42)
It does not exist for 1.25.0, apparently it is no longer needed.
2022-06-02 22:51:36 +02:00
Greizgh 394689b432 create package in its own directory
fixes #37
2021-10-11 18:47:59 +02:00
Thomas Meckel 6fb0d32bd9 Added support for dynamically configure DEB package creation 2021-05-09 10:45:53 +02:00
Greizgh ffb4d2ab6e rename built package 2021-05-04 19:19:53 +02:00
Greizgh 16b9d95731 bitwarden_rs was renamed to vaultwarden 2021-05-04 19:08:58 +02:00
Greizgh 0a9bf0bf57 bump v1.19.0
Rework the dockerfile to build dpkg in a dedicated stage.
This simplifies the diff and hopefully reduce maintenance cost for
future versions.
2021-02-12 14:02:20 +01:00
Greizgh 069766d714 bump v1.18.0 for arm32v7 2020-12-29 22:12:09 +01:00
Greizgh 0e7004023c bump v1.18.0 for amd64 2020-12-29 21:56:03 +01:00
Christian Eriksson 9989534983 Support for arm32v7 (#25)
* Move Dockerfile.patch files to architecture dependent directories

Need a way to distinguish between patches when we implement support for other architectures.
Putting them in different paths seems simple and straight forward enough.

* Add -a option to support arm32v7 and amd64 architectures

Previous releases lacked support for compiling for arm32v7 architecture.
In order to keep previous behaviour the default is set to amd64. Using the
-a option, users can now choose between arm32v7 and amd64. If arm32v7 is
used only the Buster release of debian is supported. The limitation is
due to the libmariadb3:armhf dependency not being avaliable in earlier
debian releases.

* Update documentation to detail the -a option

* Remove reference to local dirs

* Set debian package to report correct architecture for arm32v7 build

* Format arm32v7 Dockerfile.patch to match the amd64

* Handle architecture property in control file dynamically

Similar to version, the architecture property in the control file should be
handled dynamically. The build script will now replace the architecture prop
from control.dist to match the choosen architecture.
2020-11-10 11:08:37 +01:00