From 29e935651daf1134b21e1bf9a3117d31c4863e00 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Fri, 22 May 2020 18:23:34 +0200
Subject: [PATCH] Take different approach to fix iconv() notices

---
 CHANGELOG  | 4 ++++
 Dockerfile | 1 -
 bin/rector | 3 +++
 3 files changed, 7 insertions(+), 1 deletion(-)
 create mode 100755 bin/rector

diff --git a/CHANGELOG b/CHANGELOG
index 97ae974..2abb82d 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,7 @@
+v1.4.4 2020-05-22
+-----------------
+Take different approach to fix iconv() notices
+
 v1.4.3 2020-05-22
 -----------------
 Fix iconv() notices
diff --git a/Dockerfile b/Dockerfile
index dad7f50..084d1a6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -117,7 +117,6 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \
 
 ADD bin/* /usr/local/bin/
 
-ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so
 ENV LAKEDROPS_DEV_DC_OPTIONS "-T"
 
 ENTRYPOINT ["docker-entrypoint.sh"]
diff --git a/bin/rector b/bin/rector
new file mode 100755
index 0000000..0ebfe8f
--- /dev/null
+++ b/bin/rector
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+docker-compose exec ${LAKEDROPS_DEV_DC_OPTIONS} --user root php /var/www/html/vendor/bin/rector "$@"
-- 
GitLab