Commit Graph
64 Commits
Author SHA1 Message Date
Nico Isenbeck e1b46dc504 Updated webserver sample configs 2023-11-11 16:24:06 +01:00
Nico Isenbeck 2520b168b2 Fix build for vaultwarden 1.30.0 2023-11-10 15:17:15 +01:00
Nico Isenbeck 60bbdbf359 Adjust to vaultwarden upstream change https://github.com/dani-garcia/vaultwarden/pull/3505 2023-08-08 14:06:15 +02:00
Nico Isenbeck 21426f710f Updated README and added webserver sample configs 2023-05-05 17:04:19 +02:00
Nico Isenbeck 9ad722c6f3 Add support for arm64 and some minor postinst improvements 2023-04-24 17:14:09 +02:00
Nico a69dd3ec83 Merge branch 'greizgh:master' into master 2023-04-24 16:48:13 +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
Robin Schneider fb15495ca6 Mention Debian 11 (bullseye) in docs (#44)
I have been using this build script on Debian Bullseye and targeting
Debian Bullseye. The docs should give an up-to-date and supported
example.
2022-12-30 15:13:06 +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 a209f48a12 fix: postinst script
Closes #40
2021-11-26 11:08:03 +01:00
Romuald23 bf5f5dfc60 Create a group (#39)
Create a group with the same name and id of the user
2021-11-06 10:51:58 +01:00
Greizgh 394689b432 create package in its own directory
fixes #37
2021-10-11 18:47:59 +02:00
Nico 65fb0db5d5 Merge branch 'greizgh:master' into master 2021-06-15 10:14:39 +02:00
Greizgh e5a3bb64a2 shellcheck build script 2021-05-13 16:01:57 +02:00
Greizgh 5879cbce05 more readable defaults 2021-05-13 15:56:15 +02:00
Greizgh 254d267701 fix packagedir default 2021-05-13 15:52:18 +02:00
Thomas Meckel 6fb0d32bd9 Added support for dynamically configure DEB package creation 2021-05-09 10:45:53 +02:00
Greizgh bcfd315daa fix name in license 2021-05-04 21:16:28 +02:00
Greizgh 2fafd33e17 rename project 2021-05-04 21:15:54 +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 92d02edd21 Do not alter source service during build
Closes #31
2021-04-17 18:15:19 +02:00
Greizgh 22c1c3ce24 update readme to explain version argument 2021-04-17 18:09:54 +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
greizgh 76e181728b License project under GPLv3 (#27) 2020-11-20 10:23:16 +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
Nico 01a0d50879 Merge pull request #1 from greizgh/master
merge upstream
2020-11-10 09:39:10 +01:00
Thomas MeckelandThomas Meckel 9d735d0a99 Added missing --build-arg parameter to docker build to pass selected database system (#23)
Co-authored-by: Thomas Meckel <tmeckel@users.noreply.github.com>
2020-10-12 13:09:45 +02:00
Thomas MeckelandThomas Meckel b5c8a3bc9f Applied changes to Dockerfile.patch and build.sh to support building version 1.17.0 of bitwarden_rs (#21)
Co-authored-by: Thomas Meckel <tmeckel@users.noreply.github.com>
2020-10-11 17:07:37 +02:00
Greizgh a647316e06 bump v1.16.0 2020-07-22 18:39:16 +02:00
Masgalor 054085e860 Set version in controlfile dynamically (#18)
If the package is built with a specific version the controlfile should contain the corresponding version.
2020-07-22 18:22:47 +02:00
Greizgh 99ea231d80 bump v1.15.1 2020-06-27 14:47:17 +02:00
Masgalor 7e9b0d79bb Fetch the newest upstream version from github api (#17)
* Set the newest upstream version as default

Instead of hardcoding the default version the latest upstream release should be used.

* Add curl as dependency
2020-06-27 14:45:48 +02:00
Masgalor 5f78955231 Insert warning in config (#19)
The shipped systemd-unit contains default values that could give the users a hard time starting the service. This warning should make things more clear.
2020-06-09 19:52:03 +02:00
Greizgh 4db766fb60 Bump v1.15.0 2020-06-03 19:06:55 +02:00
Masgalor e086904865 Add option to build with different database types (#13)
* Add argument for database type

The optional argument "-d" allows to customize the database type.

* Modify patch to work with all db types

* Add database type to filename

* Add dynamic modification of systemd-unit

Dynamically changes the systemd-unit to require the appropriate database service.
2020-04-28 18:22:14 +02:00
Greizgh de47482b8d Bump v1.14.2 2020-04-12 13:37:54 +02:00
Greizgh 227486db0a Bump v1.14.1 2020-03-22 10:46:57 +01:00
Greizgh 5241788dff Bump v1.14 2020-03-15 11:10:04 +01:00
Greizgh 4c344efdaa Bump v1.13.1 2020-01-25 18:57:55 +01:00
Thomas Meckel 72fc13f80b Add support for different Debian versions (#8) 2019-12-02 22:32:28 +01:00
Greizgh d4e0365a5e Bump v1.13.0 2019-12-02 08:20:50 +01:00
Brielle Bruns ca53b2fe5c Update Dockerfile.patch to work with new 1.13.0 update (#7)
* Fix Dockerfile.patch to work with new 1.13.0 update
* Fix control file for 1.13.0 release
2019-12-02 08:19:14 +01:00
Greizgh 9b87666c87 Bump v1.11.0 2019-10-13 11:45:16 +02:00
Thomas Meckel fa5a6a256c Corrected Dockerfile.patch 2019-09-22 11:14:30 +02:00
Thomas Meckel 358d8e0b50 Made build.sh more robust 2019-09-22 11:12:03 +02:00
Greizgh 101380b195 Create home directory with 0700 permissions 2019-09-09 21:45:16 +02:00
Greizgh a29a39591f Bump v1.10.0 2019-09-09 21:38:39 +02:00