This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new 8736b94959 Reduce the Docker image size
8736b94959 is described below
commit 8736b94959d7d762419c20495d404cc237e7f64b
Author: Francesco Chicchiriccò <[email protected]>
AuthorDate: Tue Dec 24 07:28:58 2024 +0100
Reduce the Docker image size
---
docker/console/src/main/resources/Dockerfile | 4 ++--
docker/core/src/main/resources/Dockerfile | 4 ++--
docker/enduser/src/main/resources/Dockerfile | 4 ++--
docker/sra/src/main/resources/Dockerfile | 4 ++--
docker/wa/src/main/resources/Dockerfile | 4 ++--
src/main/asciidoc/reference-guide/concepts/externalresources.adoc | 2 +-
.../reference-guide/concepts/provisioning/propagation.adoc | 2 +-
src/main/asciidoc/reference-guide/concepts/tasks.adoc | 8 ++++----
8 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/docker/console/src/main/resources/Dockerfile
b/docker/console/src/main/resources/Dockerfile
index d6d0622421..92017151a0 100644
--- a/docker/console/src/main/resources/Dockerfile
+++ b/docker/console/src/main/resources/Dockerfile
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-FROM eclipse-temurin:21-jdk-jammy
+FROM eclipse-temurin:21-jdk-alpine
LABEL org.opencontainers.image.authors="[email protected]"
RUN set -x
@@ -39,6 +39,6 @@ COPY startup.sh /opt/syncope/bin
RUN chmod 755 /opt/syncope/bin/startup.sh
CMD ["/opt/syncope/bin/startup.sh"]
-RUN curl -o /usr/local/bin/wait-for-it
https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh
&& chmod 755 /usr/local/bin/wait-for-it
+RUN wget -O /usr/local/bin/wait-for-it
https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh
&& chmod 755 /usr/local/bin/wait-for-it
EXPOSE 8080
diff --git a/docker/core/src/main/resources/Dockerfile
b/docker/core/src/main/resources/Dockerfile
index 446e85e667..ead3d9df67 100644
--- a/docker/core/src/main/resources/Dockerfile
+++ b/docker/core/src/main/resources/Dockerfile
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-FROM eclipse-temurin:21-jdk-jammy
+FROM eclipse-temurin:21-jdk-alpine
LABEL org.opencontainers.image.authors="[email protected]"
RUN set -x
@@ -44,6 +44,6 @@ COPY startup.sh /opt/syncope/bin
RUN chmod 755 /opt/syncope/bin/startup.sh
CMD ["/opt/syncope/bin/startup.sh"]
-RUN curl -o /usr/local/bin/wait-for-it
https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh
&& chmod 755 /usr/local/bin/wait-for-it
+RUN wget -O /usr/local/bin/wait-for-it
https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh
&& chmod 755 /usr/local/bin/wait-for-it
EXPOSE 8080
diff --git a/docker/enduser/src/main/resources/Dockerfile
b/docker/enduser/src/main/resources/Dockerfile
index 9d596fe42e..3f94b09a18 100644
--- a/docker/enduser/src/main/resources/Dockerfile
+++ b/docker/enduser/src/main/resources/Dockerfile
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-FROM eclipse-temurin:21-jdk-jammy
+FROM eclipse-temurin:21-jdk-alpine
LABEL org.opencontainers.image.authors="[email protected]"
RUN set -x
@@ -40,6 +40,6 @@ COPY startup.sh /opt/syncope/bin
RUN chmod 755 /opt/syncope/bin/startup.sh
CMD ["/opt/syncope/bin/startup.sh"]
-RUN curl -o /usr/local/bin/wait-for-it
https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh
&& chmod 755 /usr/local/bin/wait-for-it
+RUN wget -O /usr/local/bin/wait-for-it
https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh
&& chmod 755 /usr/local/bin/wait-for-it
EXPOSE 8080
diff --git a/docker/sra/src/main/resources/Dockerfile
b/docker/sra/src/main/resources/Dockerfile
index 44a5505964..a72d949b6e 100644
--- a/docker/sra/src/main/resources/Dockerfile
+++ b/docker/sra/src/main/resources/Dockerfile
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-FROM eclipse-temurin:21-jdk-jammy
+FROM eclipse-temurin:21-jdk-alpine
LABEL org.opencontainers.image.authors="[email protected]"
RUN set -x
@@ -39,6 +39,6 @@ COPY startup.sh /opt/syncope/bin
RUN chmod 755 /opt/syncope/bin/startup.sh
CMD ["/opt/syncope/bin/startup.sh"]
-RUN curl -o /usr/local/bin/wait-for-it
https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh
&& chmod 755 /usr/local/bin/wait-for-it
+RUN wget -O /usr/local/bin/wait-for-it
https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh
&& chmod 755 /usr/local/bin/wait-for-it
EXPOSE 8080
diff --git a/docker/wa/src/main/resources/Dockerfile
b/docker/wa/src/main/resources/Dockerfile
index d2221d2afa..d0dd68e09f 100644
--- a/docker/wa/src/main/resources/Dockerfile
+++ b/docker/wa/src/main/resources/Dockerfile
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-FROM eclipse-temurin:21-jdk-jammy
+FROM eclipse-temurin:21-jdk-alpine
LABEL org.opencontainers.image.authors="[email protected]"
RUN set -x
@@ -39,6 +39,6 @@ COPY startup.sh /opt/syncope/bin
RUN chmod 755 /opt/syncope/bin/startup.sh
CMD ["/opt/syncope/bin/startup.sh"]
-RUN curl -o /usr/local/bin/wait-for-it
https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh
&& chmod 755 /usr/local/bin/wait-for-it
+RUN wget -O /usr/local/bin/wait-for-it
https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh
&& chmod 755 /usr/local/bin/wait-for-it
EXPOSE 8080
diff --git a/src/main/asciidoc/reference-guide/concepts/externalresources.adoc
b/src/main/asciidoc/reference-guide/concepts/externalresources.adoc
index 2a71a41b45..b56b514caa 100644
--- a/src/main/asciidoc/reference-guide/concepts/externalresources.adoc
+++ b/src/main/asciidoc/reference-guide/concepts/externalresources.adoc
@@ -158,7 +158,7 @@ complex statements to be expressed such as 'be mandatory
only if this other attr
Besides the items documented above, some more data needs to be specified for a
complete mapping:
* which
-http://connid.tirasa.net/apidocs/1.5/org/identityconnectors/framework/common/objects/ObjectClass.html[object
class^]
+http://connid.tirasa.net/apidocs/1.6/org/identityconnectors/framework/common/objects/ObjectClass.html[object
class^]
shall be used during communication with the Identity Store; predefined are
`\\__ACCOUNT__` for Users and
`\\__GROUP__` for Groups
* whether matches between user / group / any object's attribute values and
their counterparts on the Identity Store
diff --git
a/src/main/asciidoc/reference-guide/concepts/provisioning/propagation.adoc
b/src/main/asciidoc/reference-guide/concepts/provisioning/propagation.adoc
index a8b78f6032..d0d316906f 100644
--- a/src/main/asciidoc/reference-guide/concepts/provisioning/propagation.adoc
+++ b/src/main/asciidoc/reference-guide/concepts/provisioning/propagation.adoc
@@ -65,7 +65,7 @@ the provided mapping; password has a special treatment:
* otherwise, a `null` value is sent to the External Resource
Password values are always sent to External Resources wrapped as ConnId
-http://connid.tirasa.net/apidocs/1.5/org/identityconnectors/common/security/GuardedString.html[GuardedString^]
objects.
+http://connid.tirasa.net/apidocs/1.6/org/identityconnectors/common/security/GuardedString.html[GuardedString^]
objects.
====
By default, the propagation process is controlled by the
diff --git a/src/main/asciidoc/reference-guide/concepts/tasks.adoc
b/src/main/asciidoc/reference-guide/concepts/tasks.adoc
index a9983bb631..bab4b1c087 100644
--- a/src/main/asciidoc/reference-guide/concepts/tasks.adoc
+++ b/src/main/asciidoc/reference-guide/concepts/tasks.adoc
@@ -47,16 +47,16 @@ update or delete a given User, Group or Any Object, to /
from a certain Identity
* operation - `CREATE`, `UPDATE` or `DELETE`
* connObjectKey - value for ConnId
-http://connid.tirasa.net/apidocs/1.5/org/identityconnectors/framework/common/objects/Uid.html[unique
identifier^]
+http://connid.tirasa.net/apidocs/1.6/org/identityconnectors/framework/common/objects/Uid.html[unique
identifier^]
on the Identity Store
* oldConnObjectKey - the former unique identifier on the Identity Store: bears
value only during updates involving the
unique identifier
* attributes - set of ConnId
-http://connid.tirasa.net/apidocs/1.5/org/identityconnectors/framework/common/objects/Attribute.html[attributes^]
built
+http://connid.tirasa.net/apidocs/1.6/org/identityconnectors/framework/common/objects/Attribute.html[attributes^]
built
upon internal identity data and configured mapping
* resource - related <<external-resources,external resource>>
* objectClass - ConnId
-http://connid.tirasa.net/apidocs/1.5/org/identityconnectors/framework/common/objects/ObjectClass.html[object
class^]
+http://connid.tirasa.net/apidocs/1.6/org/identityconnectors/framework/common/objects/ObjectClass.html[object
class^]
* entity - reference to the internal identity: User, Group or Any Object
[NOTE]
@@ -268,7 +268,7 @@ ifeval::["{snapshotOrRelease}" == "release"]
https://github.com/apache/syncope/blob/syncope-{docVersion}/core/idrepo/logic/src/main/java/org/apache/syncope/core/logic/api/MacroActions.java[MacroActions^]
endif::[]
ifeval::["{snapshotOrRelease}" == "snapshot"]
-https://github.com/apache/syncope/blob/3_0_X/core/idrepo/logic/src/main/java/org/apache/syncope/core/logic/api/MacroActions.java[MacroActions^]
+https://github.com/apache/syncope/blob/master/core/idrepo/logic/src/main/java/org/apache/syncope/core/logic/api/MacroActions.java[MacroActions^]
endif::[]
interface.