18 Commits

Author SHA1 Message Date
tiennm99 cde575bd7e feat: oraclejdk 2025-10-06 20:40:25 +07:00
tiennm99 ff6b37e2c8 feat: stash 2025-10-06 00:31:29 +07:00
tiennm99 a9d0d65fa4 Refactor Couchbase 2.5 Docker setup and scripts
Updated Dockerfile to add libssl0.9.8, split some RUN commands, and improved permissions handling. Modified entrypoint.sh to use 'set -ex' for better debugging and switched to 'runsvdir -P /etc/service' for process management. Cleaned up docker-compose.example.yml by commenting out unused options. Updated run script to unset HOME before execution for improved environment consistency.
2025-10-05 22:30:23 +07:00
tiennm99 035484e5cf Add docker-compose example and improve Couchbase-2.5 setup
Added a docker-compose.example.yml for Couchbase-2.5 and updated the README with usage instructions. Enhanced the Dockerfile to ensure scripts use Unix line endings and are executable, improving container reliability.
2025-10-05 20:12:05 +07:00
tiennm99 8544ce2c4c Update maintainer and fix Ubuntu sources in Dockerfile
Replaces the deprecated MAINTAINER instruction with LABEL for maintainer information. Updates apt sources to use old-releases.ubuntu.com, ensuring package installation works for Ubuntu 12.04 which is now archived.
2025-10-05 10:39:16 +07:00
tiennm99 5b10be09e4 Refactor Couchbase 2.5 Dockerfile and add entry scripts
Updated the Couchbase 2.5 Dockerfile to improve dependency management, add user setup, and enhance container process handling. Added entrypoint, runit, and dummy scripts to support containerized operation and port overrides. Updated README with new reference link.
2025-10-05 10:38:15 +07:00
tiennm99 e1884fe1a6 Run Couchbase as non-root user and set data volume
Updates the Dockerfile to change ownership of /opt/couchbase/var, declare it as a volume, and run the container as the 'couchbase' user for improved security and data persistence.
2025-10-05 01:07:42 +07:00
tiennm99 3fc914a795 Fix CMD syntax in Dockerfile
Replaces space-separated arguments with comma-separated values in the CMD instruction to ensure correct JSON array syntax for Docker.
2025-10-05 00:56:44 +07:00
tiennm99 a3768dda06 Add noinput flag to Couchbase server CMD
Updated the Dockerfile to run couchbase-server with the '-noinput' flag, which may help automate container startup by suppressing interactive prompts.
2025-10-05 00:52:29 +07:00
tiennm99 954092e275 Revert "Set default user to couchbase in Dockerfile"
This reverts commit 76d66c39d4.
2025-10-05 00:44:28 +07:00
tiennm99 76d66c39d4 Set default user to couchbase in Dockerfile
Added USER couchbase to ensure the container runs as the couchbase user instead of root, improving security.
2025-10-05 00:36:43 +07:00
tiennm99 92ab83b0bd Reorder user creation in Dockerfile
Moved the group and user creation for 'couchbase' before Couchbase installation steps. This ensures the user exists prior to package installation, which may be required for proper permissions or setup.
2025-10-05 00:30:07 +07:00
tiennm99 e93bdcbf9e Update Dockerfile to enhance Couchbase setup
Adds Couchbase binary directories to PATH, creates a dedicated couchbase user and group, and simplifies the CMD to use 'couchbase-server'. These changes improve container usability and follow best practices for running services as non-root users.
2025-10-05 00:27:27 +07:00
tiennm99 3e4a9cf1be Fix EXPOSE syntax in Dockerfile
Changed the EXPOSE instruction to use space-separated ports instead of comma-separated, aligning with Dockerfile best practices.
2025-10-05 00:09:40 +07:00
tiennm99 090304db01 Refactor Couchbase 2.5 image and remove old couchbase directory
Removed the legacy couchbase/ directory and its scripts, consolidating the Docker build to couchbase-2.5. Updated the Dockerfile to download dependencies and the Couchbase package directly, simplifying the build process. Updated the workflow to remove manual .deb downloads and changed the image tag to 'latest'. Updated README to reflect these changes and clarify credits.
2025-10-05 00:07:08 +07:00
tiennm99 f9568ec53d Add Couchbase 2.5 and generic Docker images
Introduces a new Docker image for Couchbase 2.5, including a Dockerfile, entrypoint, run scripts, and a dummy script for unsupported commands. Updates the 2.5 image to install libssl0.9.8 and modifies the CMD to use '-noinput'. Adds a README with credits and updates the GitHub Actions workflow to download the new dependency.
2025-10-04 23:37:40 +07:00
tiennm99 37559c5d40 Add Couchbase 2.5 Docker build and publish workflow
Introduces a Dockerfile for Couchbase Server 2.5 on Ubuntu 12.04, a GitHub Actions workflow to build and publish the image to GHCR, and a .gitignore to exclude .deb and .rpm files. Also adds local settings for permissions.
2025-10-04 22:44:44 +07:00
Tien Nguyen Minh 5d98438efc Initial commit 2025-10-04 21:02:02 +07:00