GithubHelp home page GithubHelp logo

embarcadero / pa-radserver-ib-docker Goto Github PK

View Code? Open in Web Editor NEW
9.0 15.0 4.0 1.29 MB

Docker script for RAD Studio Linux deployment including RAD Server engine and InterBase database

Home Page: https://hub.docker.com/r/radstudio/pa-radserver-ib

License: Other

Dockerfile 22.88% Pascal 14.54% Shell 29.18% PowerShell 33.40%
docker docker-image dockerfile embarcadero interbase rad rad-server rad-studio

pa-radserver-ib-docker's Introduction

pa-radserver-ib-docker

Embarcadero RAD Server Docker script to build RAD Studio Linux deployment including RAD Server engine and InterBase database

The image defaults to running PAServer on port 64211 with the password securepass, and Broadwayd on port 8082

The 10.x images use Ubuntu 18.04.6 LTS (Bionic Beaver) while the 11.x images use Ubuntu 22.04.1 LTS (Jammy Jellyfish)

Instructions

If you want to modify or build from GitHub without using Docker Hub, you can build the Dockerfile use the build.sh script. Note: The Dockerfile requires the radserver_docker.sh script in the same directory

./build.sh 

To pull the Docker Hub version of pa-radserver-ib image use the pull.sh script

./pull.sh

or

docker pull radstudio/pa-radserver-ib:latest

Where latest is the desired tag.

To pull and run the Docker Hub version of pa-radserver-ib Docker for a debug/non-production environment use the pull-run.sh script

./pull-run.sh

To run the Docker Hub version of pa-radserver-ib Docker use the run.sh script

./run.sh

To run the Docker Hub version of pa-radserver-ib Docker for in InterBase only mode use the run-interbase-only.sh script

./run-interbase-only.sh

To configure the emsserver.ini file of an already running instance of pa-radserver-ib run the config.sh script

./config.sh

The config.sh script will restart apache automatically.

The Solutions directory contains possible usage scenarios for using the pa-radserver-ib Docker image. The Custom-RAD_Server-Module solution is for the scenario in which the user has a custom module they want to deploy to RAD Server. The custom endpoint resource module needs to be in the same directory as the Dockerfile when the build-run.sh script is called. Usage: ./build-run.sh [module file name]

Example:

./build-run.sh samplemodule.so

This software is Copyright © 2024 by Embarcadero Technologies, Inc.

You may only use this software if you are an authorized licensee of an Embarcadero developer tools product. See the latest software license agreement for any updates.

Embarcadero(Black-100px) Embarcadero(White-100px)

pa-radserver-ib-docker's People

Contributors

checkdigits avatar fmxexpress avatar jimmckeeth avatar lmbelo avatar lynxnake avatar marcocantu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pa-radserver-ib-docker's Issues

Can't build on macOS or Debian

Hi,

I can't build the image. I have this error:

> [17/31] RUN sed -i "s/uname -a | grep/awk -F= '\/^NAME\/\{print $2\}' \/etc\/os-release | grep/" /tmp/apachesetup.sh ; sed -i "s/uname -a | grep/awk -F= '\/^NAME\/\{print $2\}' \/etc\/os-release | grep/" /tmp/rssetup.sh ; sed -i "s/systemctl restart apache2.service/service apache2 restart/" /tmp/apachesetup.sh ; sed -i "s/systemctl status apache2.service --no-pager/service apache2 status/" /tmp/apachesetup.sh:
0.248 sed: can't read /tmp/apachesetup.sh: No such file or directory
0.266 sed: can't read /tmp/rssetup.sh: No such file or directory
0.284 sed: can't read /tmp/apachesetup.sh: No such file or directory
0.302 sed: can't read /tmp/apachesetup.sh: No such file or directory
------
Dockerfile:83
--------------------
  82 |     # as init system (PID 1)" bugs in the apachesetup.sh and rssetup.sh
  83 | >>> RUN sed -i "s/uname -a | grep/awk -F= '\/^NAME\/\{print \$2\}' \/etc\/os-release | grep/" /tmp/apachesetup.sh ; \
  84 | >>> sed -i "s/uname -a | grep/awk -F= '\/^NAME\/\{print \$2\}' \/etc\/os-release | grep/" /tmp/rssetup.sh ; \
  85 | >>> sed -i "s/systemctl restart apache2.service/service apache2 restart/" /tmp/apachesetup.sh ; \
  86 | >>> sed -i "s/systemctl status apache2.service --no-pager/service apache2 status/" /tmp/apachesetup.sh
  87 |
--------------------
ERROR: failed to solve: process "/bin/sh -c sed -i \"s/uname -a | grep/awk -F= '\\/^NAME\\/\\{print \\$2\\}' \\/etc\\/os-release | grep/\" /tmp/apachesetup.sh ; sed -i \"s/uname -a | grep/awk -F= '\\/^NAME\\/\\{print \\$2\\}' \\/etc\\/os-release | grep/\" /tmp/rssetup.sh ; sed -i \"s/systemctl restart apache2.service/service apache2 restart/\" /tmp/apachesetup.sh ; sed -i \"s/systemctl status apache2.service --no-pager/service apache2 status/\" /tmp/apachesetup.sh" did not complete successfully: exit code: 2

Why thoses files are missing ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.