31 Commits

Author SHA1 Message Date
Tomas Votruba
d56e7982d0 Updated Rector to commit dedd4b55fe3e03cae9bd5ac822cfdccd8deb3fb6
dedd4b55fe make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
Tomas Votruba
aca76ddc2a
Add Docker on prefixed/downgraded version only (#6368)
* move docker build to prefixed & downgraded version

* [Docker] do not scope, use existing composer dump
2021-05-06 13:24:32 +02:00
TomasVotruba
e2677ad155 add preload.php to docker too 2021-04-29 23:13:33 +02:00
TomasVotruba
3264fc3996 [prefixed] rector dump-autoload, need if box is not used 2021-04-22 21:10:32 +02:00
TomasVotruba
8457108cdc [Docker] Mimic prefix install 2021-04-22 20:53:10 +02:00
TomasVotruba
3139430ea7 [Docker] skip composer dump on scoping 2021-04-22 20:39:25 +02:00
Jan Mikeš
f3cdb06adf
Drop no longer needed secured rector version of Docker image (#5759) 2021-03-03 17:37:59 +00:00
Matthias Pigulla
ff93a759e6
Build "scoped" Docker images in GitHub Actions (#5667)
* Improve GHA build process to provide scoped Docker images for PHP 7.3-8.0

* Push cached build layers to Docker Hub instead of ghcr.io

* Build "-secured" Docker image

* Run Docker publish workflow for the "experimental-scoped" branch

* Use "plain" progress output from buildx

* Build only one image named "secured", based on PHP 8.0
2021-03-02 14:25:39 +01:00
Matthias Pigulla
242c6371d3
Specify an explicit Composer version (#5589)
... to not rely on a possibly outdated local image.
2021-02-17 12:12:53 +01:00
Jan Mikeš
6072b261f5
Raise php version in docker image to 8.0 (#5536) 2021-02-13 23:55:31 +01:00
Abdul Malik Ikhsan
55ee86cb90
[Docker] Install libicu-dev to allow install intl (#5186)
* [Docker] Install libicu-dev to allow install intl

* phpstan
2021-01-14 17:56:23 +01:00
Abdul Malik Ikhsan
4d3ed9e1de
[Docker] Fixing configure - install - enable intl (#5185)
* [Docker] Fixing configure - install - enable intl

* no need enable, only configure and install
2021-01-14 14:11:37 +01:00
Henk Poley
e0b9c143a0
Issue #5180 - add intl extension (#5184)
https://github.com/rectorphp/rector/issues/5180#issuecomment-760100459
2021-01-14 12:31:34 +00:00
Jan Kiesewetter
e09d2ab0ab
Clear apt and composer cache after installing (#5173) 2021-01-14 01:45:14 +01:00
Jan Mikeš
99b601e5a3
Fix permissions on /tmp in Docker (#4730)
Fixes #4568
2020-11-29 11:14:55 +01:00
Tomas Votruba
44b27f779e
[EarlyReturn] Decouple new set (#4490)
* [set] decouple new code-quality-strict

* decopule early-return set [closes #4464]

* [docker] drop prestissimo, as composer v2 does not need it

* [ci] move coding standard to ci_review

* [ci] try to run rector-ci on contributors
2020-10-27 13:47:37 +00:00
Jan Mikeš
d8760fa63d
Improved rector in docker autoloading (#4368)
* Changed docker working directory to project and running rector from path

* Fixed path of Docker entrypoint for rector

* Improve Docker docs in readme

* [rector] Improve Docker docs in readme

* [cs] Improve Docker docs in readme

Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-07 14:34:20 +00:00
Jan Mikeš
0dacb02471
Remove /dev/null from dockerfile for easier debugging 2020-04-20 10:34:51 +02:00
Jan Mikeš
1fe9b145d0
Copy .git directory into docker image 2020-04-03 21:30:47 +02:00
Jan Mikeš
e462ff17c1
Warmup opcache in docker 2020-01-26 16:34:32 +01:00
Jan Mikeš
79d76dab73
Added opcache to docker image 2020-01-26 15:36:27 +01:00
Jan Mikeš
e5b092d97c
Added secured docker image 2020-01-22 00:29:34 +01:00
Daniel Roe
45b74914e5
chore: use php 7.4 cli 2019-12-04 11:21:48 +00:00
Jan Mikeš
1670e85aa2
Added stub directory to Docker composer build phase 2019-09-04 14:21:22 +02:00
Jan Mikeš
82ad572707
Changed docker image for easier extending 2019-05-03 18:51:33 +02:00
Jan Mikeš
5c0a1903f1
Fixed missing autoload in docker build and optimized caching
Added .dockerignore with basic files

Fixed installing composer in docker + cache optimalization
2019-03-12 13:19:30 +01:00
Anton Zdanov
22d2d25645
refactor(simplify workdir): 2019-03-11 16:12:09 +02:00
Anton Zdanov
a75d76de19
build(docker): use alpine for smaller image 2019-03-11 11:59:05 +02:00
Tomas Votruba
0db2b07d49 rename *.yml to *.yaml 2019-02-03 18:46:45 +01:00
Jan Mikeš
5e61b54918 Loading config /project/rector.yml by default now 2018-12-12 09:48:30 +01:00
Jan Mikeš
884df9d075 Initial dockerfile 2018-12-12 09:33:46 +01:00