GithubHelp home page GithubHelp logo

mcastellin / docker-hybris Goto Github PK

View Code? Open in Web Editor NEW
20.0 5.0 16.0 9.09 MB

Run SAP Hybris development environment on Docker containers

License: MIT License

Shell 88.64% Dockerfile 11.36%
docker sap-commerce-cloud hybris

docker-hybris's People

Contributors

akrivitzky avatar mcastellin avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

docker-hybris's Issues

Create automated build for CI

Introduce some concept of testing for the bash scripts generation. Maybe introduce some testing zip file and verify the extraction is successful and the docker image can build and run successfully.

IDE support

After creating the image I was able to invoke the Hybris build and start the server with hooked up custom extensions.

Then I want to try some code changes and fired up IntellJ IDEA. Then I figured that I have to setup the Hybris installation path. But there is no one actially at my hdd. It sits within the docker container.

How do you advise to solve this issue?

Build and prepare Hybris bundle externally

To keep image size small, we are going to prepare Hybris installation from outside the container build. This will allow us to load only the necessary files in the container without inflating the image and leave a lot of empty space.

Allow ybase build to include custom setup scripts

When building the ybase image, allow users to include custom setup scripts to install additional software their implementation could require.

Let's make sure the apt/lists are cleaned up from the main installation scripts

Change Dockerfile to run install and run hybris as non-root user

Since v6.6 (maybe even before), hybris won't run SOLR as a root. So, the container errs out and stops. In addition, even tho' this is for local dev environment, best practice is to run docker containers as non-root whenever possible.

I also found an issue with the read-only designation for the config folder volume. Container erred out on that as well with our codebase.

I have a pull request forthcoming for these fixes.

Create a dummy bundle zip file to speed up development

We want to generate an dummy zipfile to mock the structure of the SAP commerce bundle. This will be used to speed up development do we don't need to wait a long time for the image to be generated. It will also be the starting point to implement some sort of unit testing of the Dockerfiles

/bin/sh: 1: /opt/installer/install.sh: not found

While following your instructions the image could not be build.
It fails at the point where install.sh should be executed. Where comes this file from? It is not contained in your repo. Do you assume that it is contained in my hybris copy?

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.