From 5c1501717bc42b8a18c9beaacf4b3aa12ebbcfc9 Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Kandula Date: Sat, 23 Nov 2024 17:11:17 +0530 Subject: [PATCH] chore: Remove unused `netcat` and `openssh-client` (#37662) These packages were installed in https://github.com/appsmithorg/appsmith/commit/daf60fab72f7f05b47fa6024d4d4c9e3d31acc93 for use with the `appsmithctl migrate` command, which has never been documented, been deprecated and then deleted from code for some time now. Removing these packages now as we don't need them any longer. Tested on EE and verified `/test all` to have passed. ## Automation /test sanity ### :mag: Cypress test results > [!CAUTION] > If you modify the content in this section, you are likely to disrupt the CI result for your PR. ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No ## Summary by CodeRabbit - **New Features** - Updated the base image to `ubuntu:20.04` for improved compatibility. - Introduced a new builder stage for Caddy with the `caddy-ratelimit` module. - Enhanced support for internationalization by setting environment variables for language and locale. - **Improvements** - Streamlined package installation process by removing unnecessary packages. - Optimized the final image size with cleanup commands and maintained essential database services. --- deploy/docker/README.md | 7 +------ deploy/docker/base.dockerfile | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/deploy/docker/README.md b/deploy/docker/README.md index e61b8f15b2..68ccb60b68 100644 --- a/deploy/docker/README.md +++ b/deploy/docker/README.md @@ -159,12 +159,7 @@ This will need a restart of the Appsmith server, which can be done using the fol ```sh docker-compose exec appsmith-ce supervisorctl restart backend ``` -### Migrate To New Server -To migrate a running container to a new server or other machine, you can use the following `migrate` command and replace the `` and `` by the user and IP address of the destination server or machine. -``` -docker exec appsmith-ce appsmithctl migrate @ -``` -This command will migrate all data and configuration of running container on source machine to destination machine and start a new container on destination machine. + ## Supervisor The container runs multiple processes, including the Appsmith server, Nginx, MongoDB etc., inside a single Docker container. These processes are started and managed by [supervisord](http://supervisord.org/). diff --git a/deploy/docker/base.dockerfile b/deploy/docker/base.dockerfile index 5ea5ec4854..fdff976a73 100644 --- a/deploy/docker/base.dockerfile +++ b/deploy/docker/base.dockerfile @@ -18,7 +18,7 @@ RUN set -o xtrace \ && apt-get update \ && apt-get upgrade --yes \ && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes \ - supervisor curl nfs-common gnupg wget netcat openssh-client \ + supervisor curl nfs-common gnupg wget \ gettext \ ca-certificates \ # Install MongoDB v5, Redis, PostgreSQL v13