Giter Site home page Giter Site logo

ppc64le / build-scripts Goto Github PK

View Code? Open in Web Editor NEW
77.0 77.0 227.0 203.38 MB

Build scripts for open source projects on Linux on POWER LE

License: Apache License 2.0

Shell 93.52% Groovy 0.01% Batchfile 0.01% Python 0.47% Dockerfile 5.57% Roff 0.07% Makefile 0.04% C 0.09% OpenEdge ABL 0.22%

build-scripts's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

build-scripts's Issues

Please modify the build script a/apicurio-registry/apicurio-registry_rhel8.sh

  1. Has the embedded patch in the build script pushed upstream?
  2. Is the patch dependent on a specific grpc-java version? if yes, please modify the "git clone.."
  3. Isolate the path in a separate file
  4. Include a grpc-java build Dockerfile (preferably base on a rh_ubi image)
    Use a/apicurio-registry/apicurio-registry_rhel8.sh as a reference.

Configuring Tensorflow with Bazel is failing

Bazel is attempting to download many files which are hosted by the project mirror (mirror.bazel.build) which are blocked by Walmart firewalls. Can I get a contact to reach out on possibly providing a precompiled .whl, or the PowerAI framework?

Thomas Stovall
thomas [dot] stovall [at] walmart [dot] com

Copy docker cli

When the agent tries to find the Java version of application's JVM's; it runs docker exec command; however it fails to find docker cli. Below is the error snippet:

2021-06-13T14:41:20.497+00:00 | DEBUG | instana-agent-scheduler-thread-2 | ockerProcessImpl | com.instana.agent - 1.1.597 | Running process /usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.ppc64le/bin/java -version via docker exec 675b5fb0e7a60d4d09ab0144c33195436196822703dde73abe4fbecc11fc5c1f
2021-06-13T14:41:20.501+00:00 | DEBUG | instana-agent-scheduler-thread-2 | chineFactoryImpl | com.instana.agent - 1.1.597 | Cannot parse java -version from DockerProcessImpl [pid=47933, parentPid=, inContainerPid=1, containerId=675b5fb0e7a60d4d09ab0144c33195436196822703dde73abe4fbecc11fc5c1f, name=java, directory=/, executable=/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.ppc64le/bin/java, arguments=[-jar, /deployments/app.jar], userName=, groupName=]
java.io.IOException: Cannot run program "docker": error=2, No such file or directory

To fix this, Docker CLI needs to be copied into PATH. Copying it into /usr/bin directory is fine and works.
Below is the updated dockerfile

`FROM registry.access.redhat.com/ubi8/ubi:8.2

COPY instana-agent-linux-ppcle-64bit.tar.gz /root/
COPY docker /usr/bin/
RUN yum install -y java-11-openjdk-devel
&& cd /root/
&& tar xzf instana-agent-linux-ppcle-64bit.tar.gz
&& rm -rf instana-agent-linux-ppcle-64bit.tar.gz

ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk
INSTANA_AGENT_MODE="APM"
INSTANA_AGENT_KEY="--------------"

CMD ["/root/instana-agent/bin/karaf", "daemon"]`

Make sure to copy the Docker cli in the same folder as that of this dockerfile before building the image.

grpc-java (core) build script doesn't work

Base build platform: registry.access.redhat.com/ubi8/ubi-minimal.
JAVA version = open-jdk 8
gradle = distribution default
attemped grpc-version=1.15.1 and 1.28.1
build fails

Typo in env name for RStudio

ENV RStduio_VERSION 1.2.1335

should be

ENV RStudio_VERSION 1.2.1335

in

[(https://github.com/ppc64le/build-scripts/blob/master/rstudio/Dockerfiles/v1.2.1335/Dockerfile)]

(line 5)

Who to contact for security issues

Hello ๐Ÿ‘‹

I run a security community that finds and fixes vulnerabilities in OSS. A researcher (@arshadkazmi42) has found a potential issue, which I would be eager to share with you.

Could you add a SECURITY.md file with an e-mail address for me to send further details to? GitHub recommends a security policy to ensure issues are responsibly disclosed, and it would help direct researchers in the future.

Looking forward to hearing from you ๐Ÿ‘

(cc @huntr-helper)

RStudio docker image: startup.sh error message: -e not found

I have just built the image for RStudio from

https://github.com/ppc64le/build-scripts/blob/master/rstudio/Dockerfiles/v1.2.1335/Dockerfile

and tried to start a container with

sudo docker run -i -p 8787:8787 rstudio

but I cannot connect to RStudio Server via the browser with localhost:8787
because the docker container shows this error message:

/startup.sh: 1: /startup.sh: -e: not found

The reason seems to be that the first line of the script contains an "-e".

This may possibly be caused by this line in the run part of the Dockerfile

echo -e '#!/bin/bash\ncd /usr/sbin\nrstudio-server start' >> startup.sh && \

kong 3.3.0 build generates an error when the request is closed due to a timeout

A 504 error is expected, but returns a 500 error in the request. Example of the generated error:

2023/12/04 14:02:32 [error] 38#0: *9824 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 172.19.10.1, server: kong, request: "GET /intranet/celepar/apigateway/servico/v1/sleep/4000 HTTP/1.1", upstream: "https://10.15.96.163:443/gestaoapigateway-servicos/api/v1/suporte/sleep/4000", host: "kong.apps.ocp4.celepar.parana"

2023/12/04 14:02:32 [error] 38#0: *9824 failed to load inlined Lua code: rewrite_by_lua(nginx-kong.conf:289):1: unexpected symbol near ';', client: 172.19.10.1, server: kong, request: "GET /intranet/celepar/apigateway/servico/v1/sleep/4000 HTTP/1.1", upstream: "https://10.15.96.163:443/gestaoapigateway-servicos/api/v1/suporte/sleep/4000", host: "kong.apps.ocp4.celepar.parana"

For testing I used the following settings:

I also generated my own build with the scripts, but the same errors occurred in the tests run

Note: if I comment out lines 289 and 290 in the nginx_kong.lua file, the error did not occur and the request returns 504 as expected

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.