Comments (3)
Sorry, we don't plan to make this a config value. You're welcome to run a custom fork if you want to fetch more profiles.
from run.
I can't just run a custom fork build from bitclout/backend, it shows after replacing /bitclout/bin/backend:
"standard_init_linux.go:228: exec user process caused: no such file or directory"
Can you post instructions on how you make a binary for bitclout/run docker?
from run.
@lobovkin this is what I use the build backend from source. It may help. I
Note that ive not tried this with the new DeSo repos. ll run it later today to make sure it functions as expected.
Assuming working folder /tmp
- clone core
- clone backend
- create
dist
folder - create Dockerfile as per below
- run
docker build -t bin --platform linux/amd64 --output dist/ .
- linux compatible backend now in
/tmp/dist/backend
Dockerfile to build binary
FROM --platform=${BUILDPLATFORM} golang:1.16.5 AS build
WORKDIR /src
#ENV CGO_ENABLED=1
RUN apt update && apt install -y libvips-dev
COPY backend/go.mod backend/
COPY backend/go.sum backend/
COPY core/go.mod core/
COPY core/go.sum core/
COPY core/third_party/ core/third_party/
WORKDIR /src/backend
RUN go mod download
# include backend src
COPY backend/config config
COPY backend/cmd cmd
COPY backend/miner miner
COPY backend/routes routes
COPY backend/main.go .
# include core src
COPY core/clouthash ../core/clouthash
COPY core/cmd ../core/cmd
COPY core/lib ../core/lib
COPY core/migrate ../core/migrate
# build backend
#RUN GOOS=linux go build -mod=mod -a -installsuffix cgo -o bin/backend main.go
ARG TARGETOS
ARG TARGETARCH
RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -mod=mod -a -installsuffix cgo -o /out/backend main.go
FROM scratch AS bin-unix
COPY --from=build /out/backend /
FROM bin-unix AS bin-linux
FROM bin-unix AS bin-darwin
FROM scratch AS bin-windows
COPY --from=build /out/backend /backend.exe
FROM bin-${TARGETOS} AS bin
from run.
Related Issues (20)
- JSON erro
- My node can't sync and log show 'Error fetching Coingecko price'
- Getting an error when I set the ADMIN_PUBLIC_KEYS to my public key HOT 7
- Adding comma separated list of Admins or newline not working HOT 4
- Node stopped synchronizing after usage of the new docker image HOT 20
- Node suddenly shows "502 Bad Gateway" error message HOT 18
- Node suddenly shows $CLOUT Price as $0 HOT 5
- Pulling backend (docker.io/deso-protocol/backend:stable) HOT 3
- Segmentation Fault with PostgreSQL sync HOT 3
- api 502 HOT 1
- Add instructions for using MySQL HOT 4
- 32 GB RAM, 8 vCPUs, 640 GB SSD - TXINDEX CRASH HOT 10
- http://deso.run is not available. HOT 9
- Can't login locally when running node HOT 5
- I can not send trx and has error "because peer is in read-only: true" HOT 4
- Added second admin key with a space between them only don't work anymore.. HOT 2
- Transfers via exchange listing API shows 404 Error HOT 6
- When I visit my domain name, it prompts the following error
- Error while starting server --> node needs to be resynced 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 run.