18 Commits

Author SHA1 Message Date
Bhanu Pulluri
96e9873dd9 Handle hadolint check failure with proper risk assessment (#7637)
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Co-authored-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-09-18 17:53:11 +00:00
Bhanu Pulluri
0d9fa16a1f [#4292] Fix mounted data path directory permissions for besu user (#7575)
* Fix mounted data path directory permissions for besu user

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>

* Add besu CLI option to output dirs needing permission update

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>

* run spotless apply to handle PR test failure

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>

* Remove newly added --print-paths-and-exit option from config file test

This option doesn't have a corresponding config file entry as it's a
standalone option to be used with docker containers

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>

* Add optional user argument to --print-paths-and-exit and fix directory permissions

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>

* Correct build.gradle changes, remove a duplicate line and extra whitespaces

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>

* Fix checking for user in path's group membership

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>

* Add platform check to restrict --print-paths-and-exit option usage to Linux and Mac

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>

* Apply suggestions from code review

Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: Bhanu Pulluri <59369753+pullurib@users.noreply.github.com>

---------

Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Signed-off-by: Bhanu Pulluri <59369753+pullurib@users.noreply.github.com>
Co-authored-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-09-18 09:35:00 +00:00
Fabio Di Fabio
af80e53ad9 Update Docker base image to Ubuntu 24.04 (#7251)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-06-24 10:54:34 +00:00
Sally MacFarlane
c8d01075e7 Revert "Update Dockerfile - reuse NO_PROXY_CACHE env (#7203)" (#7219)
This reverts commit dfe256e647.

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-06-13 00:47:32 +00:00
Enrico Del Fante
dfe256e647 Update Dockerfile - reuse NO_PROXY_CACHE env (#7203)
* Update Dockerfile

reuse NO_PROXY_CACHE env

Signed-off-by: Enrico Del Fante <enrico.delfante@consensys.net>

* Update Dockerfile

Signed-off-by: Enrico Del Fante <enrico.delfante@consensys.net>

---------

Signed-off-by: Enrico Del Fante <enrico.delfante@consensys.net>
Co-authored-by: Usman Saleem <usman@usmans.info>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-06-13 10:10:52 +10:00
daniellehrner
65b3cb1511 do not use NO_PROXY_CACHE env variable with apt-get install to avoid a linting error (#7077)
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
2024-05-08 12:37:15 +02:00
daniellehrner
033d4d6aa7 Run apt-get in docker builds without using any cache. (#7011)
* Run apt-get in docker builds without using any cache. Split steps in individual RUN commands

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

* use env variable for apt non-cache settings, revert split into several RUN commands

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

* clean apt-get cache after installation to decrease docker image size

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

---------

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
2024-05-08 08:44:23 +00:00
Justin Florentine
c589c5b39d One JDK to rule them all (#6865)
* reduce number of jvms provided
* consistent sha length

---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-04-06 01:54:17 +00:00
Danno Ferrin
8067ff4f82 Multiple Docker Images with different JVMs (#1277)
Create different Docker images with different base JVMs.  Initially
OpenJDK 11.0.7, whatever OpenJDK latest is (14.0.1 at the moment), and
Graal 20.1.0 .

We still maintain a "Default" which will remain Java 11.0.x

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2020-08-06 08:32:53 -06:00
Joshua Fernandes
8c9eb4348e setting up the besu user:group for the docker container and following best security practices (#1093)
Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net>
2020-06-17 13:00:16 +10:00
Antoine Toulme
1d493597f7 Healthcheck (#715)
* Add a pid-path parameter to write a pid file that can be used as a healthcheck

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* Add healthcheck to the Dockerfile

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* fix assertj use

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* Fix unit tests

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
2020-04-19 16:01:49 -07:00
Ratan Rai Sur
c2a89a0cb5 add besu to path in Docker (#223)
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
2019-11-26 17:32:52 -05:00
Joshua Fernandes
d6a2394e2d Migrating Pantheon to Besu (#1945)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-09-16 11:14:10 +10:00
Joshua Fernandes
05d975ab3a update defaults host interfaces (#1782)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-07-30 11:45:56 +10:00
Joshua Fernandes
29c3c14263 New release docker image (#1664)
* removing unused docker image, switching to new docker image

* switch to using the new release image and pipeline

* pr fixes

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-07-11 14:44:37 +10:00
Joshua Fernandes
5ca6f94d9b reverting change to dockerfile (#1594)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-06-21 19:44:55 +10:00
Joshua Fernandes
491012159a cleaning up the build process for docker (#1590)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-06-21 19:14:10 +10:00
Chris Mckay
28814e7d36 Push builds of master as docker development images (#1200)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-04-02 09:06:41 +10:00