Commit Graph
73 Commits
Author SHA1 Message Date
sko 74577a9f39 feat: Add AGENTS.md and Gitea CI/CD workflow
Build and Release Debian Packages / build (push) Has been cancelled
Build and Release Debian Packages / release (push) Has been cancelled
- Create AGENTS.md to document project structure, commands, and conventions for AI agents.
- Implement Gitea workflow for automated Debian package builds (MySQL, SQLite) and release creation.

💘 Generated with Crush

Assisted-by: Gemini 2.5 Flash via Crush <crush@charm.land>
2026-02-27 06:17:06 +01:00
Nico Isenbeck 46b39a64a9 Add vaultwarden-builder.sh and update README 2026-01-10 08:21:08 +01:00
Nico Isenbeck 58103cd020 Cleanup obsolete code 2025-12-28 07:49:34 +00:00
Nico Isenbeck 890006ee5e Fix Bullseye builds broken by OpenSSL 3.0 requirement
Vaultwarden 1.35.0+ needs OpenSSL 3.0, but Bullseye has only 1.1.

- Improve Dockerfile version replacement regex
- Enable vendored_openssl for Bullseye to statically link OpenSSL 3.0
- Add build dependencies (make, perl) for OpenSSL compilation
2025-12-28 07:36:43 +00:00
Nico Isenbeck 47ef11cc38 Adjust to vaultwarden upstream change https://github.com/dani-garcia/vaultwarden/pull/4856 2024-10-07 07:06:37 +00:00
Nico Isenbeck 78d962b225 Fix Nginx sample config 2023-11-12 09:35:29 +01:00
Nico Isenbeck 27632d600b Updated dependencies for buster compatibility 2023-11-12 09:01:55 +01:00
Nico Isenbeck d97308e3bd minor packaging fix 2023-11-12 08:34:49 +01:00
Nico Isenbeck 9704c74119 Remove fallback to armhf for arm* Arch 2023-11-11 17:41:10 +01:00
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