forked from jl777/komodo
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #603 from KomodoPlatform/update-CD
update dockerfiles
- Loading branch information
Showing
4 changed files
with
40 additions
and
25 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
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
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
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 |
---|---|---|
@@ -1,8 +1,18 @@ | ||
FROM ubuntu:20.04 | ||
RUN \ | ||
apt-get update &&\ | ||
apt-get install -y libgomp1 | ||
CMD mkdir /komodo | ||
LABEL maintainer="[email protected]" | ||
RUN \ | ||
export ACCEPT_EULA=Y && \ | ||
export DEBIAN_FRONTEND=noninteractive && \ | ||
apt-get update && \ | ||
apt-get install software-properties-common -y && \ | ||
add-apt-repository ppa:ubuntu-toolchain-r/test -y && \ | ||
apt-get update && \ | ||
apt-get upgrade -y && \ | ||
apt-get dist-upgrade -y && \ | ||
apt-get install libgomp1 libstdc++6 binutils -y | ||
RUN mkdir /komodo | ||
WORKDIR /komodo | ||
COPY src/komodod src/komodo-cli ./ | ||
CMD ./komodod | ||
RUN ln -sf /komodo/komodod /usr/bin/komodod && \ | ||
ln -sf /komodo/komodo-cli /usr/bin/komodo-cli | ||
CMD ./komodod |