-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[YottaDB/UI/YDBGUI#234] Add GUI to Base Docker images & misc
- Add GUI to base docker images (Ubuntu + Debian). This is done via an intermediate docker stage that creates the "plugins" directory and which is copied in the final stage. Entrypoint replaced to be able to start the GUI on port 9080 as well as run YottaDB. - Fix build/run comments to be accruate, as the older ones were out of date (latest -> latest-master, remove UTF-8 [it's already default], add port option for GUI). - Remove readline libraries: While I would like for readline to be available, we need a lot more packages to be installed in order for the unversioned .so to be available; but this image is supposed to be as small as possible. So, never mind. - Fix libcurl packages in main Dockerfile. It was done incorrectly in commit f92ef46 (it added the libcurl for the YottaDB build stage, where it is not actually used--it should be added in two places: a dev library for the GUI build stage, and a runtime library for the runtime stage). Image size: - Ubuntu: was 220 MB -> now 285 MB - Rocky: was 521 MB -> now 636 MB README updated.
- Loading branch information
Showing
4 changed files
with
104 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
################################################################# | ||
# # | ||
# Copyright (c) 2024 YottaDB LLC and/or its subsidiaries. # | ||
# All rights reserved. # | ||
# # | ||
# This source code contains the intellectual property # | ||
# of its copyright holder(s), and is made available # | ||
# under a license. If you do not know the terms of # | ||
# the license, please stop and do not read further. # | ||
# # | ||
################################################################# | ||
mkdir -p /data/logs | ||
. /opt/yottadb/current/ydb_env_set | ||
yottadb -run %ydbgui --readwrite --port 9080 >>/data/logs/%ydbgui.log & | ||
exec /opt/yottadb/current/yottadb -direct |