Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use ubuntu 20.04 #602

Closed
wants to merge 15 commits into from
21 changes: 10 additions & 11 deletions .github/workflows/komodod_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- beta
- dev
- research
- master


jobs:

Expand All @@ -33,19 +33,18 @@ jobs:
uses: actions/checkout@v2

- name: Install deps (Linux)
env:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get update # prevents repo404 errors on apt-remove below
sudo apt-get remove php* msodbcsql17 mysql* powershell dotn*
sudo apt-get update
sudo ACCEPT_EULA=Y apt-get upgrade -y
sudo apt-get install -q \
curl \
python3 \
python3-dev \
python3-setuptools \
python3-pip \
libcurl4-openssl-dev \
libssl-dev -y
sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool \
libncurses-dev unzip wget bsdmainutils automake libboost-all-dev libssl-dev \
libprotobuf-dev protobuf-compiler libqrencode-dev libdb++-dev ntp ntpdate nano \
software-properties-common curl libevent-dev libcurl4-gnutls-dev cmake clang \
libsodium-dev ncurses-dev git python3 python3-zmq zlib1g-dev -y
- name: Build (Linux)
if: runner.os == 'Linux'
run: |
Expand All @@ -64,12 +63,12 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

- name: Build container
run: docker build -f Dockerfile.release -t komodoofficial/komodo:cd_release_${{ steps.shortify_commit.outputs.sha_short }}_${{ steps.extract_branch.outputs.branch }} .
run: docker build -f Dockerfile.release -t ${{ secrets.DOCKER_ORG }}/komodo:cd_release_${{ steps.shortify_commit.outputs.sha_short }}_${{ steps.extract_branch.outputs.branch }} .

- name: Push to docker hub
uses: actions-hub/docker@master
with:
args: push komodoofficial/komodo:cd_release_${{ steps.shortify_commit.outputs.sha_short }}_${{ steps.extract_branch.outputs.branch }}
args: push ${{ secrets.DOCKER_ORG }}/komodo:cd_release_${{ steps.shortify_commit.outputs.sha_short }}_${{ steps.extract_branch.outputs.branch }}

osx-build:
name: OSX Build
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM ubuntu:16.04
MAINTAINER Mihail Fedorov <kolo@komodoplatform.com>
FROM ubuntu:20.04
MAINTAINER smk762 <smk@komodoplatform.com>

RUN apt-get -y update && \
apt-get -y upgrade && \
Expand Down
10 changes: 7 additions & 3 deletions Dockerfile.release
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
FROM ubuntu:20.04
FROM ubuntu:22.04
RUN \
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jfyi - this was bumped to 22.04

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cheers - just testing but no luck. Still throwing things at GHA to see what sticks in my fork.
I'll close this PR until I'm done to avoid spamming the actions tab here too.

apt-get update &&\
apt-get install -y libgomp1
CMD mkdir /komodo
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
Loading