From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from integral2.. (unknown [182.2.72.31]) by gnuweeb.org (Postfix) with ESMTPSA id 4C9587E7C9; Sat, 30 Apr 2022 17:08:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1651338531; bh=jWV4jPuaKWntaYUpN25HVXsUWv8Y2fxdrKo6VOe+75Y=; h=From:To:Cc:Subject:Date:From; b=bTU1Oan6D39OBzE2rP1B8bGiWXnJ1dEycYeiC2QSi5h5UT3V8t+lcHoMxUXYw+Z7E e0Pih1WqWKMFMFaZRqAIA+dIpVWFYqS5PUwTQPGZKQxH6jItyjkBag2WjOs476Khqr fgtZ2dxTekjau0uT/HbVV8ydTlxWRMc2ORKmQ6sKXDPrvYDQoBzTCoqdPj7nfWOhsX oATy2DbjVCBPZsD/HRbGnPmQvrm3kyQ4NI0gIzV+PseVHxCwXqtao47dYnd7QuWvS9 CzWh+0slkD4k5O5v6FEuTPV00I0mgfcU8a2Ea/WoyfRDpvGgGGrOKKzaZihcB4D7As aUq6zJ/bW7hWw== From: Ammar Faizi To: GNU/Weeb Mailing List Cc: Ammar Faizi , Alviro Iskandar Setiawan , Hazmi Alfarizqi , Hazmi Alfarizqi Subject: [PATCH server-a001 v2 0/4] Install net-tools and MySQL server Date: Sun, 1 May 2022 00:08:34 +0700 Message-Id: <20220430170838.19571-1-ammarfaizi2@gnuweeb.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Hi, This is v2 revision of install net-tools and MySQL server patchset. There are 4 patches in this series: - Patch 1 is just to install net-tools. - Patch 2 is to install MySQL server. - Patch 3 is to create a directory for persistent storage. - Patch 4 is to create a small script to get everything running. Please review, thanks! #### How to run this Simply just do: sudo bash start.sh run; In case you have already running or stale container, the above command will fail. If you want to start everything from the beginning without caring with the previous container, simple just do: sudo bash start.sh force-run; It will destroy the old container and run a new fresh one. #### Changelog v1 -> v2: - Collect Reviewed-by tags from Alviro and Hazmi for patch #1. - Address comment from Alviro, add the mechanism for other maintainers to actually run this all. I provided a new file start.sh to do that this time. - Add persistent data storage directory (currently only used by MySQL). Link v1: https://lore.gnuweeb.org/gwml/20220417125125.160068-1-ammarfaizi2@gnuweeb.org Signed-off-by: Ammar Faizi --- Ammar Faizi (4): Install net-tools Install MySQL server Create `storage` directory for saving persistent data Create start.sh to start the docker container Dockerfile | 4 ++-- docker-entrypoint.sh | 1 + start.sh | 37 +++++++++++++++++++++++++++++++++++++ storage/.gitignore | 2 ++ 4 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 start.sh create mode 100644 storage/.gitignore base-commit: 805621a61ed6aaef8ab9ff4dfb667ff1faa486d5 -- Ammar Faizi