From 1b278e0eea2e2df749c6bbc73ba207a965f6a1cd Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Wed, 24 Apr 2024 11:17:06 -0600 Subject: [PATCH] Adding hooks to multiarch building. Updating to version 3.0.37 --- Dockerfile | 2 +- hooks/build | 2 ++ version.txt | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 hooks/build diff --git a/Dockerfile b/Dockerfile index be9b4b0..d302e70 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,7 +32,7 @@ RUN curl -sL https://aka.ms/DevTunnelCliInstall | bash RUN sudo apt-get update && sudo apt-get install -y gnupg2 RUN sudo apt-get install -y software-properties-common RUN sudo wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add - -RUN sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" +RUN sudo add-apt-repository "deb [arch=${ARCH}] https://packages.microsoft.com/repos/vscode stable main" RUN sudo apt update RUN sudo apt install code -y diff --git a/hooks/build b/hooks/build new file mode 100644 index 0000000..863bdcb --- /dev/null +++ b/hooks/build @@ -0,0 +1,2 @@ +#!/bin/bash +docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t $IMAGE_NAME . \ No newline at end of file diff --git a/version.txt b/version.txt index 3356a5d..6d94c53 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.0.36 \ No newline at end of file +3.0.37 \ No newline at end of file