Skip to content

Commit

Permalink
Use Ubuntu 20.04 rather than 22.04 (hyperledger-solang#1483)
Browse files Browse the repository at this point in the history
We've had a few users reporting that solang does not work in their
environment; usually this is ubuntu 20.04 WSL.

Signed-off-by: Sean Young <sean@mess.org>
  • Loading branch information
seanyoung authored Aug 11, 2023
1 parent f5a634f commit 03a420c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
linux-x86-64:
name: Linux x86-64
runs-on: solang-ubuntu-latest
container: ghcr.io/hyperledger/solang-llvm:ci-4
container: ghcr.io/hyperledger/solang-llvm:ci-5
steps:
- name: Checkout sources
uses: actions/checkout@v3.1.0
Expand All @@ -33,7 +33,7 @@ jobs:
name: Linux arm64
runs-on: linux-arm64
if: ${{ github.repository_owner == 'hyperledger' }}
container: ghcr.io/hyperledger/solang-llvm:ci-4
container: ghcr.io/hyperledger/solang-llvm:ci-5
steps:
- name: Checkout sources
uses: actions/checkout@v3.1.0
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
lints:
name: Lints
runs-on: solang-ubuntu-latest
container: ghcr.io/hyperledger/solang-llvm:ci-4
container: ghcr.io/hyperledger/solang-llvm:ci-5
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
linux-x86-64:
name: Linux x86-64
runs-on: solang-ubuntu-latest
container: ghcr.io/hyperledger/solang-llvm:ci-4
container: ghcr.io/hyperledger/solang-llvm:ci-5
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand All @@ -93,7 +93,7 @@ jobs:
name: Linux Arm
runs-on: linux-arm64
if: ${{ github.repository_owner == 'hyperledger' }}
container: ghcr.io/hyperledger/solang-llvm:ci-4
container: ghcr.io/hyperledger/solang-llvm:ci-5
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
anchor:
name: Anchor Integration test
runs-on: solang-ubuntu-latest
container: ghcr.io/hyperledger/solang-llvm:ci-4
container: ghcr.io/hyperledger/solang-llvm:ci-5
needs: linux-x86-64
steps:
- name: Checkout sources
Expand Down Expand Up @@ -278,7 +278,7 @@ jobs:
solana:
name: Solana Integration test
runs-on: solang-ubuntu-latest
container: ghcr.io/hyperledger/solang-llvm:ci-4
container: ghcr.io/hyperledger/solang-llvm:ci-5
needs: linux-x86-64
steps:
- name: Checkout sources
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/hyperledger/solang-llvm:ci-4 as builder
FROM ghcr.io/hyperledger/solang-llvm:ci-5 as builder

COPY . src
WORKDIR /src/stdlib/
Expand All @@ -9,7 +9,7 @@ RUN rustup default 1.68.0
WORKDIR /src
RUN cargo build --release

FROM ubuntu:22.04
FROM ubuntu:20.04
COPY --from=builder /src/target/release/solang /usr/bin/solang

LABEL org.opencontainers.image.title="Solang Solidity Compiler" \
Expand Down

0 comments on commit 03a420c

Please sign in to comment.