Skip to content

Commit

Permalink
Merge pull request #663 from valory-xyz/feat/arm-v7-support
Browse files Browse the repository at this point in the history
ARM v7 docker images support
  • Loading branch information
angrybayblade authored Aug 18, 2023
2 parents a98a707 + 893e4f5 commit ba461bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ jobs:
run: |
# export `TAG` variable
source env.sh
docker buildx build --platform linux/amd64,linux/arm64 -t valory/open-aea-user:$TAG -f user-image/Dockerfile . --push
docker buildx build --platform linux/amd64,linux/arm64 -t valory/open-aea-user:latest -f user-image/Dockerfile . --push
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t valory/open-aea-user:$TAG -f user-image/Dockerfile . --push
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t valory/open-aea-user:latest -f user-image/Dockerfile . --push
publish-deploy-images:
name: Publish Deploy Images
Expand Down
5 changes: 3 additions & 2 deletions user-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM ubuntu:22.04

RUN apt-get update && apt-get upgrade -y
RUN apt-get install sudo git curl -y

RUN apt-get install sudo -y
RUN apt-get install git -y
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > ./rustup.sh
RUN sh ./rustup.sh -y

RUN adduser --disabled-password --gecos '' ubuntu
RUN adduser ubuntu sudo
Expand Down

0 comments on commit ba461bc

Please sign in to comment.