Robin Schneider
f6761ac30e
Remove debugging echo statement from Dockerfiles
5 years ago
Robin Schneider
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.
5 years ago
Robin Schneider
f6a4a2127b
Remove duplicate empty lines in generated Dockerfiles
Checked with:
```Shell
find . -type f -print0 | xargs -0 pcregrep -M '\n\n\n'
```
5 years ago
Robin Schneider
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
5 years ago
Daniel García
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.
5 years ago
Robin Schneider
43aa75dc89
Fix cross platform build support, thanks to @dani-garcia for the review
5 years ago
Robin Schneider
8280d200ea
Generate Dockerfiles from one source for maintainability. Closes #785 .
5 years ago
Daniel García
4cec502f7b
Update docker images to alpine 3.11 and rust 1.40
5 years ago
Daniel García
cf5a985b31
Updated rust images and enabled minimal profile
5 years ago
Daniel García
cbadf00941
Update web vault to fix twofactorauth.org integration
Update dependencies and toolchain
Update included equivalent domains with upstream changes
5 years ago
Gernot Nusshall
204993568a
cleaner startup exec in order to build the image and run the container with podman/libpod
5 years ago
Daniel García
97d41c2686
Revert rustup minimal profile, rustup can't be updated
5 years ago
Daniel García
fccc0a4b05
Update rocket to latest master
Downgrade rust version to fix cargo issue
Set rustup profile to minimal
5 years ago
Daniel García
57b1d3f850
Update dependencies and docker base images
5 years ago
Miro Prasil
acdd42935b
Add sqlite binary into the docker images
This is done to enable backup functionality in the admin interface while
we're waiting for the libsqlite-sys 0.17 to bubble up in the upstream
dependencies. Then we can start using `VACUUM INTO`
This also extends the check for the sqlite binary to also try `sqlite3`
as this is the name of the binary in baseimage distributions we use.
5 years ago
Michael Powers
f5f9861a78
Adds support for PostgreSQL which resolves #87 and is mentioned in #246 .
This includes migrations as well as Dockerfile's for amd64.
The biggest change is that replace_into isn't supported by Diesel for the
PostgreSQL backend, instead requiring the use of on_conflict. This
unfortunately requires a branch for save() on all of the models currently
using replace_into.
5 years ago
Daniel García
f9408a00c6
Allow self signed certs and increase a bit the timings
5 years ago
Daniel García
ae8bf954c1
Updated web vault to 2.12
5 years ago
Miro Prasil
eea3f13bb3
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.
5 years ago
H3npi
66a68f6d22
Adds Healthcheck for all docker container
5 years ago
Daniel García
469318bcbd
Updated dependencies and web vault version
5 years ago
Daniel García
8be2ed6255
Update web vault to 2.11.0
6 years ago
Felix Bartels
0b13a8c4aa
last round of linting fixes
Signed-off-by: Felix Bartels <felix@host-consultants.de>
6 years ago
Felix Bartels
3fbd7919d8
more linting fixes
Signed-off-by: Felix Bartels <felix@host-consultants.de>
6 years ago
Miro Prasil
d10ef3fd4b
Create Dockerfiles for mysql builds
6 years ago
Miro Prasil
dd0b847912
Move current dockerfiles to their arch folders
6 years ago
Nils Domrose
ff759397f6
initial mysql support
6 years ago
Emil Madsen
badd22ac3d
Make docker image build
6 years ago
Daniel García
a8a92f6c51
New vault patch release
6 years ago
Daniel García
2a4cd24c60
Updated web vault to hide org plans again and updated dependencies
6 years ago
Daniel García
d89bd707a8
Update vault release to show duo button
6 years ago
Daniel García
d9406b0095
Update to web vault 2.10.0
6 years ago
Daniel García
6d7e15b2fd
Use web vault 2.9.0 release
6 years ago
Daniel García
c6c00729e3
Update vault to new version. No need to wait for a release when even the official web vault is already using it
6 years ago
Daniel García
9d027b96d8
Update web-vault to fix U2F NotTrustedAnchor error
6 years ago
Miroslav Prasil
b4f6206eda
Bump the vault version used to the latest one
6 years ago
Daniel García
1b11445bb2
Update dependencies and web vault
6 years ago
Daniel García
62b8500aae
Fix missing .env error in Dockerfile, the .env file is not needed for the Docker images
6 years ago
Miroslav Prasil
77cada4085
Update Vault to 2.8.0
6 years ago
Daniel García
b8326a15a3
Add build.rs to dockerfile
6 years ago
Miroslav Prasil
23eadf2c9a
Update vault t o2.7.1
6 years ago
Daniel García
d3e4fb88ee
Fix wrong folder name
6 years ago
Daniel García
7ebba736cb
Updated dockerfiles to use compiled vaults
6 years ago
Daniel García
f2ab25085d
Updated dependencies, and dockerfiles to use NodeJS 10 LTS
6 years ago
Daniel García
e34f75c267
Make sure the dockerfile builds the project, instead of assuming the cached dummy is valid
6 years ago
Daniel García
2129946d14
Updated deps and web vault to 2.6.1
6 years ago
Daniel García
e177160ee9
Update web vault to 2.6.0
6 years ago
Miroslav Prasil
b4e222d598
Bump vault version to 2.5.0
6 years ago
Miroslav Prasil
9b20247fc2
Remove libs from Dockerfile
6 years ago
Daniel García
e844f41abc
Make the docker images use port 80 (instead of 8000, which is the default in rocket 0.4)
6 years ago