PromucFlow_constructor/deploy/docker/fs/opt/appsmith
Shrikant Sharat Kandula 53bcdafe91
fix: Get Java from GitHub release artifacts directly (#27862)
What are we solving here?

1. Installing Java in the `Dockerfile` by using Adoptium's package
repositories is fragile since they've started blocking some IP addresses
used by GitHub Actions runners. We see a message like this:
   ```
Failed to fetch
https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-17/temurin-17-jdk_17.0.8.1.0+1_amd64.deb
403 Forbidden [IP: 146.75.107.42 443]
   ```
We're seeing more and more cases of these and PRs are getting blocked.

2. Installing Java via `apt` also installs other packages like X11
libraries, that aren't really relevant to our usage of Java. Yet, these
packages are present in our Docker image, and are the source of several
CVEs to be reported by scanners on our Docker image.

3. This will give us control over trusted CA certificates, which we can
now perform under `$TMP`, which aligns with our move towards supporting
readonly root filesystem. Which is essentially not write to anything in
the Docker image at runtime, except for under `/tmp` and
`/appsmith-stacks`. This will help us move in that direction.
2023-10-06 19:38:19 +05:30
..
templates fix: Route for HTTP-01 challenge, instead of redirecting (#27788) 2023-10-04 15:37:32 +05:30
utils fix: Fix backup command getting version (#27780) 2023-10-04 15:28:26 +05:30
entrypoint.sh fix: Get Java from GitHub release artifacts directly (#27862) 2023-10-06 19:38:19 +05:30
healthcheck.sh chore: Use single COPY command in Dockerfile for constant/static files (#27127) 2023-09-11 08:43:09 +05:30
init_ssl_cert.sh chore: Run NGINX with readonly root FS support (#27453) 2023-09-27 13:38:47 +05:30
install_docker.sh chore: replaced decommisioned urls with new ones (#27786) 2023-10-05 12:07:18 +05:30
prepare-image.mjs chore: Run NGINX with readonly root FS support (#27453) 2023-09-27 13:38:47 +05:30
pull_resource.sh chore: Use single COPY command in Dockerfile for constant/static files (#27127) 2023-09-11 08:43:09 +05:30
renew-certificate.sh chore: Use single COPY command in Dockerfile for constant/static files (#27127) 2023-09-11 08:43:09 +05:30
run-java.sh fix: Get Java from GitHub release artifacts directly (#27862) 2023-10-06 19:38:19 +05:30
run-nginx.sh chore: Run NGINX with readonly root FS support (#27453) 2023-09-27 13:38:47 +05:30
run-postgres.sh fix: Use temporary directory for embedded postgres stats data (#27455) 2023-09-27 11:35:43 +05:30
run-starting-page-init.sh chore: Run NGINX with readonly root FS support (#27453) 2023-09-27 13:38:47 +05:30
run-with-env.sh chore: Use single COPY command in Dockerfile for constant/static files (#27127) 2023-09-11 08:43:09 +05:30
start_app.sh chore: Use single COPY command in Dockerfile for constant/static files (#27127) 2023-09-11 08:43:09 +05:30
starting-page-init.py chore: Run NGINX with readonly root FS support (#27453) 2023-09-27 13:38:47 +05:30
update-and-restart-supervisor.sh chore: Use single COPY command in Dockerfile for constant/static files (#27127) 2023-09-11 08:43:09 +05:30