Commit Graph

9 Commits

Author SHA1 Message Date
Daniel Kirchner
a0dee79ad2 Remove install_deps script. 2021-11-04 12:07:27 +01:00
Christian Parpart
37b5669ec3 make build concurrency build-time customizable 2018-06-26 12:13:03 +02:00
Christian Parpart
7546100776 Dockerfile: improves docker image size and small others
This greatly improves size of the final docker image with the help of
multi-stage docker builds.

With that change, we can also make the build stage readable/maintainable
again by splitting up into multiple RUN statements as well as not
needing to clean-up temporary objects.

The dependencies have been put on top of the primary COPY statement
in order to not rebuild the dependencies each time one wants to rebuild
the docker image (for example due to code changes).

The solc compilation itself is now parallelized to the CPU core count
to speed up those builds that have more cores available on their docker
build system.

Future Notes:
-------------

We could further improve the Dockerfile by explicitely adding the
directories this docker build is interested in (such as solc source code
exclusively).

Or one may want to also use the build step for automated testing (CI)
by enforcing soltest and cmdlineTests.sh right before finalizing the image.
2018-06-26 12:12:35 +02:00
Paweł Bylica
4974ff3962
CMake: Add option to static link solc 2017-08-22 22:50:25 +02:00
chriseth
806b39db02 Specify docker entry point and only run release on tags. 2017-03-16 18:13:34 +01:00
chriseth
59099908c5 Merge branch 'release' into develop 2017-03-15 17:26:06 +01:00
RJ Catalano
d76d9d4169
create automated docker deployment
Signed-off-by: RJ Catalano <rj@monax.io>
2017-02-09 11:30:59 -06:00
chriseth
822622cf5b Merge remote-tracking branch 'origin/develop' into release 2016-12-15 12:16:56 +01:00
chriseth
5c662022a7 Alpine base docker file. 2016-11-24 21:48:16 +01:00