Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions dockerfiles/alpine/is/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,8 @@ ENV WORKING_DIRECTORY=${USER_HOME} \
# expose ports.
EXPOSE 4000 9763 9443

# Provide execute permissions to docker-entrypoint.sh
RUN chmod +x /home/wso2carbon/docker-entrypoint.sh
Copy link

Copilot AI Jul 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider using COPY --chmod=+x when adding docker-entrypoint.sh earlier in the Dockerfile to set its permissions in the same layer and simplify the build.

Suggested change
RUN chmod +x /home/wso2carbon/docker-entrypoint.sh
# (Permissions are now set during the COPY operation above.)

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Jul 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] You could combine this RUN chmod +x with adjacent RUN commands to reduce the total number of layers and improve build efficiency.

Copilot uses AI. Check for mistakes.

# Initiate container and start WSO2 Carbon server.
ENTRYPOINT ["/home/wso2carbon/docker-entrypoint.sh"]