-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add linux support and linux builder Docker file
- Loading branch information
1 parent
2827194
commit 3870d96
Showing
5 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM golang:1.18 | ||
|
||
# Clone go algorand | ||
RUN mkdir -p "/Users/fergal/" | ||
WORKDIR "/Users/fergal/" | ||
RUN git clone https://github.com/algorand/go-algorand.git | ||
|
||
# Checkout v3.8.1 | ||
WORKDIR "/Users/fergal/go-algorand/" | ||
RUN git checkout v3.8.1-stable | ||
|
||
# run algo node builds | ||
RUN ./scripts/configure_dev.sh | ||
RUN ./scripts/buildtools/install_buildtools.sh | ||
RUN make install | ||
|
||
# Run on host machine: | ||
# ==================== | ||
# ``` | ||
# docker build -t local/algojig .; | ||
# docker run -v $(pwd):/algojig -ti local/algojig /bin/bash -c "cd /algojig/gojig; go build -o ../algojig/algojig_linux_x86_64"; | ||
# ``` |
File renamed without changes.
File renamed without changes.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters