Comments (3)
@rocketstack-matt may be able to troubleshoot here, as he created the docker config
from traderx.
I don't have a Win 10 machine to test on, but from a little research this may be caused by line endings in the gradle file when building in WSL.
@tomhealey-icma I'm assuming you're running in WSL? Can you please try the setting the following git config git config --global core.autocrlf input
delete the local repo and re-clone, then try the docker build again.
from traderx.
I was able to replicate this issue with an Azure VM
Note
Win10 Pro running on a Standard E4s v3 (4 vcpus, 32 GiB memory)
git version 2.43.0.windows.1
java 21.0.2 2024-01-16 LTS
I cloned the traderx repo and ran docker compose up
from the root, result was:
=> [position-service 3/4] COPY . . 0.9s
=> ERROR [position-service 4/4] RUN ./gradlew build 1.6s[position-service 4/4] RUN ./gradlew build:
0.754 /bin/sh: 1: ./gradlew: not found
failed to solve: process "/bin/sh -c ./gradlew build" did not complete successfully: exit code: 127
I deleted the cloned repo and ran the command I suggested previously git config --global core.autocrlf input
then re-cloned the repo and re-ran docker compose up
. This worked to build all the images but the database container failed to start, unable to find run.sh
. This was related to the execute permission having been lost, I have updated the Dockerfile in this PR for the database to explicitly chmod +x
the script which then worked.
from traderx.
Related Issues (20)
- 23 February 2024 - TraderX Meeting Agenda HOT 9
- Simple Service Status Page
- CSS improvements of Angular frontend HOT 1
- Readiness endpoints
- Architecture as Code for TraderX HOT 2
- 8 March 2024 - TraderX Meeting Agenda HOT 5
- Add User to Account appears to be broken HOT 2
- Consider Login-requirement / authentication to protect TraderX Demo Environment HOT 12
- Replace TraderX banner logo
- Build TraderX documentation website
- Automated night deployment/restart is not working HOT 1
- [DRAFT] Multiple instances of demo environment to showcase integrations
- 22 March 2024 - TraderX Meeting Agenda HOT 6
- 8 April 2024 - TraderX Meeting Agenda HOT 11
- Add disclaimer to the page HOT 2
- Build dependency
- Cannot login to H2 Console HOT 2
- 10 May 2024 - TraderX Meeting Agenda HOT 6
- 14 June 2024 - TraderX Meeting Agenda HOT 6
- Ignore updates outside of website and docs folder from Netlify HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traderx.