Skip to content

Commit 8736b94

Browse files
committed
Reduce the Docker image size
1 parent 36fdaa6 commit 8736b94

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

docker/console/src/main/resources/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
FROM eclipse-temurin:21-jdk-jammy
18+
FROM eclipse-temurin:21-jdk-alpine
1919
LABEL org.opencontainers.image.authors="dev@syncope.apache.org"
2020

2121
RUN set -x
@@ -39,6 +39,6 @@ COPY startup.sh /opt/syncope/bin
3939
RUN chmod 755 /opt/syncope/bin/startup.sh
4040
CMD ["/opt/syncope/bin/startup.sh"]
4141

42-
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
42+
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
4343

4444
EXPOSE 8080

docker/core/src/main/resources/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
FROM eclipse-temurin:21-jdk-jammy
18+
FROM eclipse-temurin:21-jdk-alpine
1919
LABEL org.opencontainers.image.authors="dev@syncope.apache.org"
2020

2121
RUN set -x
@@ -44,6 +44,6 @@ COPY startup.sh /opt/syncope/bin
4444
RUN chmod 755 /opt/syncope/bin/startup.sh
4545
CMD ["/opt/syncope/bin/startup.sh"]
4646

47-
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
47+
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
4848

4949
EXPOSE 8080

docker/enduser/src/main/resources/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
FROM eclipse-temurin:21-jdk-jammy
18+
FROM eclipse-temurin:21-jdk-alpine
1919
LABEL org.opencontainers.image.authors="dev@syncope.apache.org"
2020

2121
RUN set -x
@@ -40,6 +40,6 @@ COPY startup.sh /opt/syncope/bin
4040
RUN chmod 755 /opt/syncope/bin/startup.sh
4141
CMD ["/opt/syncope/bin/startup.sh"]
4242

43-
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
43+
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
4444

4545
EXPOSE 8080

docker/sra/src/main/resources/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
FROM eclipse-temurin:21-jdk-jammy
18+
FROM eclipse-temurin:21-jdk-alpine
1919
LABEL org.opencontainers.image.authors="dev@syncope.apache.org"
2020

2121
RUN set -x
@@ -39,6 +39,6 @@ COPY startup.sh /opt/syncope/bin
3939
RUN chmod 755 /opt/syncope/bin/startup.sh
4040
CMD ["/opt/syncope/bin/startup.sh"]
4141

42-
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
42+
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
4343

4444
EXPOSE 8080

docker/wa/src/main/resources/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
FROM eclipse-temurin:21-jdk-jammy
18+
FROM eclipse-temurin:21-jdk-alpine
1919
LABEL org.opencontainers.image.authors="dev@syncope.apache.org"
2020

2121
RUN set -x
@@ -39,6 +39,6 @@ COPY startup.sh /opt/syncope/bin
3939
RUN chmod 755 /opt/syncope/bin/startup.sh
4040
CMD ["/opt/syncope/bin/startup.sh"]
4141

42-
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
42+
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
4343

4444
EXPOSE 8080

src/main/asciidoc/reference-guide/concepts/externalresources.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ complex statements to be expressed such as 'be mandatory only if this other attr
158158
Besides the items documented above, some more data needs to be specified for a complete mapping:
159159

160160
* which
161-
http://connid.tirasa.net/apidocs/1.5/org/identityconnectors/framework/common/objects/ObjectClass.html[object class^]
161+
http://connid.tirasa.net/apidocs/1.6/org/identityconnectors/framework/common/objects/ObjectClass.html[object class^]
162162
shall be used during communication with the Identity Store; predefined are `\\__ACCOUNT__` for Users and
163163
`\\__GROUP__` for Groups
164164
* whether matches between user / group / any object's attribute values and their counterparts on the Identity Store

src/main/asciidoc/reference-guide/concepts/provisioning/propagation.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ the provided mapping; password has a special treatment:
6565
* otherwise, a `null` value is sent to the External Resource
6666
6767
Password values are always sent to External Resources wrapped as ConnId
68-
http://connid.tirasa.net/apidocs/1.5/org/identityconnectors/common/security/GuardedString.html[GuardedString^] objects.
68+
http://connid.tirasa.net/apidocs/1.6/org/identityconnectors/common/security/GuardedString.html[GuardedString^] objects.
6969
====
7070

7171
By default, the propagation process is controlled by the

src/main/asciidoc/reference-guide/concepts/tasks.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@ update or delete a given User, Group or Any Object, to / from a certain Identity
4747

4848
* operation - `CREATE`, `UPDATE` or `DELETE`
4949
* connObjectKey - value for ConnId
50-
http://connid.tirasa.net/apidocs/1.5/org/identityconnectors/framework/common/objects/Uid.html[unique identifier^]
50+
http://connid.tirasa.net/apidocs/1.6/org/identityconnectors/framework/common/objects/Uid.html[unique identifier^]
5151
on the Identity Store
5252
* oldConnObjectKey - the former unique identifier on the Identity Store: bears value only during updates involving the
5353
unique identifier
5454
* attributes - set of ConnId
55-
http://connid.tirasa.net/apidocs/1.5/org/identityconnectors/framework/common/objects/Attribute.html[attributes^] built
55+
http://connid.tirasa.net/apidocs/1.6/org/identityconnectors/framework/common/objects/Attribute.html[attributes^] built
5656
upon internal identity data and configured mapping
5757
* resource - related <<external-resources,external resource>>
5858
* objectClass - ConnId
59-
http://connid.tirasa.net/apidocs/1.5/org/identityconnectors/framework/common/objects/ObjectClass.html[object class^]
59+
http://connid.tirasa.net/apidocs/1.6/org/identityconnectors/framework/common/objects/ObjectClass.html[object class^]
6060
* entity - reference to the internal identity: User, Group or Any Object
6161

6262
[NOTE]
@@ -268,7 +268,7 @@ ifeval::["{snapshotOrRelease}" == "release"]
268268
https://github.com/apache/syncope/blob/syncope-{docVersion}/core/idrepo/logic/src/main/java/org/apache/syncope/core/logic/api/MacroActions.java[MacroActions^]
269269
endif::[]
270270
ifeval::["{snapshotOrRelease}" == "snapshot"]
271-
https://github.com/apache/syncope/blob/3_0_X/core/idrepo/logic/src/main/java/org/apache/syncope/core/logic/api/MacroActions.java[MacroActions^]
271+
https://github.com/apache/syncope/blob/master/core/idrepo/logic/src/main/java/org/apache/syncope/core/logic/api/MacroActions.java[MacroActions^]
272272
endif::[]
273273
interface.
274274

0 commit comments

Comments
 (0)