Commit Graph

34 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
deb4891b2b fix: reference noble apt repository and not focal 2024-09-21 20:50:36 -04:00
Jose Diaz-Gonzalez
0a4f36c865 feat: upgrade docker container to ubuntu noble 2024-09-21 17:20:20 -04:00
Jose Diaz-Gonzalez
5493ca5978 fix: force sv usage in docker container to avoid cases where systemd is used instead
On newer Ubuntu Noble, cron (among other things) has a transitory dependency on systemd, forcing our systemd/runit detection to fail. This change allows overriding the detected init on Ubuntu systems, ensuring we always do the right thing when interacting with init.
2024-09-21 17:20:19 -04:00
Jose Diaz-Gonzalez
cea4f5f444 fix: remove systemd on docker-based installations
The systemd package was installed by default for some reason, causing issues when interacting with init processes. Specifically, we would detect systemctl on runit systems and incorrectly invoke that when restarting processes.

Additionally, ensure the copied binaries are executable.

Closes #7089
2024-09-21 02:06:18 -04:00
Jose Diaz-Gonzalez
6f82879a43 Merge pull request #6390 from renweibo/master
Prefer systemctl over sv when both exist while restarting nginx
2024-02-11 20:20:39 -05:00
Jose Diaz-Gonzalez
44d03dc81d fix: remove systemctl from built docker image
Systemd does not run within the container and so this should be a safe operation as all systemctl commands otherwise fail.
2024-02-11 19:10:03 -05:00
Jose Diaz-Gonzalez
28532a56a9 tests: fix issue where CI cannot install docker-buildx-plugin 2024-02-05 14:59:20 -05:00
Jose Diaz-Gonzalez
ce8b851be2 fix: ensure the mounted services directory is symlinked correctly
Closes #5468
2023-01-23 15:00:02 -05:00
Jose Diaz-Gonzalez
a19cef9411 fix: install official docker package from docker upstream
This ensures the docker version we ship to in the docker image can actually install the docker-compose-plugin.
2022-11-05 23:44:51 -04:00
Jose Diaz-Gonzalez
6f5f3fa908 feat: upgrade base Dockerfile image to phusion/baseimage:focal-1.2.0 2022-05-21 13:42:45 -04:00
Jose Diaz-Gonzalez
198664ac58 fix: use correct epo 2022-03-08 01:31:47 -05:00
Jose Diaz-Gonzalez
19cdc00345 chore: remove quiet flags from apt calls for debugging 2022-03-08 01:31:25 -05:00
Jose Diaz-Gonzalez
bc9e1bfe6c fix: use newer image that contains arm version 2022-03-08 00:48:54 -05:00
Jose Diaz-Gonzalez
dd8e76890c feat: upgrade docker image to ubuntu focal 2022-03-08 00:06:04 -05:00
Jose Diaz-Gonzalez
4fede344fc refactor: build docker image for all architectures 2022-01-28 17:55:46 -05:00
Jose Diaz-Gonzalez
a1c768b9b3 refactor: drop web installer in favor of setup via cli
This makes the installation a bit more secure by ensuring a user does not accidentally expose a way for unauthorized users to add new ssh keys to the system.

Additionally, this removes the extra HOSTNAME file to make the initial install process easier (that file was not modifiable by any dokku commands.

Closes #2247
2021-08-07 16:36:41 -04:00
Jose Diaz-Gonzalez
f099681e3d feat: upgrade dokku docker image to latest bionic release
Refs #4625
2021-05-31 16:05:35 -04:00
Jose Diaz-Gonzalez
a679e80187 tests: update hadolint and ignore some errors 2021-02-13 01:54:55 -05:00
Jose Diaz-Gonzalez
a7465f9d81 tests: use github actions instead of circleci for test running 2021-01-20 14:00:07 -05:00
Jose Diaz-Gonzalez
ed84f21c08 refactor: standardize apt-get usage
- Always put flags in same location
- Always use apt-get
- Add --no-install-recommends where possible
2021-01-17 20:19:56 -05:00
Jose Diaz-Gonzalez
1aec869f9e fix: do not delete apps log subdir
This is a new directory introduced for vector logging should not be deleted so vector logging still works.
2021-01-04 21:40:51 -05:00
Jose Diaz-Gonzalez
0e219b05e9 fest: handle both openresty and nginx in docker image builds 2019-09-16 03:02:01 -04:00
Jose Diaz-Gonzalez
ea9cf024d5 feat: always upgrade packages before further installation 2019-09-16 03:01:46 -04:00
Jose Diaz-Gonzalez
0d1952592e chore: standardize arguments to apt 2019-09-16 03:01:34 -04:00
Jose Diaz-Gonzalez
43e7ee06fb feat: rework layer to slightly speed up builds 2019-09-16 03:00:34 -04:00
Jose Diaz-Gonzalez
692bfa7cde feat: speed up docker image build by copying tmp dhparam file into place 2019-09-16 03:00:11 -04:00
Michael Hobbs
8830e15526 use custom docker bin 2019-07-18 00:27:09 -04:00
Michael Hobbs
67bdd47015 wait for CI dokku container to startup 2019-07-18 00:27:09 -04:00
Michael Hobbs
d8ada6a6e9 install dokku from built deb package and use docker image for integrations tests 2019-07-18 00:26:31 -04:00
Jose Diaz-Gonzalez
ecfb54c668 refactor: switch to /mnt/dokku 2019-07-18 00:24:24 -04:00
Jose Diaz-Gonzalez
3500dbfa6a refactor: clean up dockerfile to reduce image layers 2019-07-18 00:24:24 -04:00
Jose Diaz-Gonzalez
230a098b7b chore: drop unnecessary copy of test dhparam 2019-07-18 00:24:24 -04:00
Jose Diaz-Gonzalez
9b67ffe9d4 feat: properly handle dhparam
The dhparam file should be specific to each installation, and thus needs to be generated on first run.
2019-07-18 00:24:24 -04:00
Jose Diaz-Gonzalez
3eb9c9b3ba feat: initial docker installation support
Refs #1076
2019-07-18 00:24:23 -04:00