Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-install build and fix license location error #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

antihax
Copy link

@antihax antihax commented Aug 5, 2019

I ran this docker container recently and ran into a few issues.
First the license file is not sent to the correct location.
Having to install the SAP system each time a new container is spawned is also tedious so I have forced the hostname during install which appeared to be the only issue from doing the install during build.

This PR should resolve the two issues.

Auto-install with forced hostname.
Cleanup /tmp
@AndreaBorgia-Abo
Copy link

@antihax just tried your Dockerfile and I get this error:
Step 5/12 : COPY sapdownloads/SYBASE_ASE_TD.lic /tmp/sapdownloads/server/TAR/x86_64
COPY failed: stat /var/lib/docker/tmp/docker-builder527374911/sapdownloads/SYBASE_ASE_TD.lic: no such file or directory

@antihax
Copy link
Author

antihax commented Nov 8, 2020

You will need to get the demo license from SAP. Unfortunately I do not recall where this was, but it was behind a logon screen and you will need an account with them.

The license that was with the download package had expired.

@AndreaBorgia-Abo
Copy link

The license that was with the download package had expired.

I don't believe this is the case:
00:0000:00000:00000:2020/11/09 16:12:00.91 kernel SySAM: Using licenses from: /sybase/NPL/SYSAM-2_0/licenses/SYBASE_ASE_TestDrive.lic
00:0000:00000:00000:2020/11/09 16:12:00.97 kernel SySAM: Checked out license for 4 ASE_CORE (2021.0331/31-mar-2021/1A92 9318 1818 AAFA) will expire Thu 01 Apr 2021 12:00:00 AM UTC.

Anyhow, your PR looks ok now that I know what you were trying to do, I have posted in the SAP community for help.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants