diff --git a/.github/workflows/main-workflow.yml b/.github/workflows/main-workflow.yml index 0929abc..5a11403 100644 --- a/.github/workflows/main-workflow.yml +++ b/.github/workflows/main-workflow.yml @@ -11,6 +11,9 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 diff --git a/Dockerfile b/Dockerfile index 6a89b76..8f0dfa1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,13 +29,16 @@ RUN curl -sL https://aka.ms/DevTunnelCliInstall | bash #Instalando VSCode RUN ARCH="$(dpkg --print-architecture)" \ + && case "${ARCH}" in \ + amd64) VSCODE_ARCH="x64" ;; \ + arm64) VSCODE_ARCH="arm64" ;; \ + *) echo "Unsupported architecture: ${ARCH}" >&2; exit 1 ;; \ + esac \ + && curl -fsSL "https://update.code.visualstudio.com/latest/linux-deb-${VSCODE_ARCH}/stable" -o /tmp/vscode.deb \ + && (sudo dpkg -i /tmp/vscode.deb || true) \ && sudo apt-get update \ - && sudo apt-get install -y gnupg2 \ - && sudo apt-get install -y software-properties-common \ - && sudo wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add - \ - && sudo add-apt-repository "deb [arch=${ARCH}] https://packages.microsoft.com/repos/vscode stable main" \ - && sudo apt-get update \ - && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y code + && sudo DEBIAN_FRONTEND=noninteractive apt-get install -f -y \ + && rm -f /tmp/vscode.deb #Making home writable RUN sudo chmod -R a+rwX /home diff --git a/version.txt b/version.txt index 6b6eace..a575350 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.2.23 +3.2.24