From cd7181d6ec05b7826846c7115095d705229a4cfe Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Tue, 11 Jun 2024 10:31:02 -0600 Subject: [PATCH 01/11] Updating the latest version of vscode. Updting to version 3.1.3 --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index 6ebad14..711ee4f 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.1.2 \ No newline at end of file +3.1.3 \ No newline at end of file From 4c16938db3da24bf7da652cadbd2d97774b2cc1b Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Sat, 15 Jun 2024 23:58:09 -0600 Subject: [PATCH 02/11] Updating docs. Updating to version 3.1.4 --- readme.md | 2 ++ version.txt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 8df2a55..b47da63 100644 --- a/readme.md +++ b/readme.md @@ -172,6 +172,8 @@ RUN echo 'source ~/.nvm/nvm.sh' >> ~/.bashrc ``` > **Note:** If you are using this image as a base image in a Dockerfile, ensure that the value of `HOME_USER` is the same as the one you will use when creating the container. This is necessary to ensure that all configurations and packages are installed in the correct user directory. +> **Note:** To grant access to the server, please log into https://github.com/login/device and use the code XXXX-XXXX. You can view the container logs to get the code. + ## Contributing If you'd like to contribute to this project, please fork the repository and create a pull request. diff --git a/version.txt b/version.txt index 711ee4f..b532f3d 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.1.3 \ No newline at end of file +3.1.4 \ No newline at end of file From 3e130f4bf0e6022b0acdf616df725e03923977e0 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Fri, 2 Aug 2024 11:10:23 -0600 Subject: [PATCH 03/11] Updating version of vscode. Updating to version 3.1.5 --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index b532f3d..97ceee1 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.1.4 \ No newline at end of file +3.1.5 \ No newline at end of file From 1b4baca42ca7fca931319ef6d853d5ccd6c7835a Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Tue, 10 Sep 2024 12:10:04 -0600 Subject: [PATCH 04/11] Updating version of vscode. Updating to version 3.1.6 --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index 97ceee1..8a4b275 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.1.5 \ No newline at end of file +3.1.6 \ No newline at end of file From 862baf44b773cb92c046a781ad9c7970647b837b Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Tue, 10 Sep 2024 13:38:03 -0600 Subject: [PATCH 05/11] Trying to fix builder of github actions issue. Updating to version 3.1.7 --- .github/workflows/main-workflow.yml | 22 ++++++++++++---------- version.txt | 2 +- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main-workflow.yml b/.github/workflows/main-workflow.yml index 601f587..9f18eee 100644 --- a/.github/workflows/main-workflow.yml +++ b/.github/workflows/main-workflow.yml @@ -1,4 +1,4 @@ -name: Build and Push Docker Image ARM64 +name: Build and Push Docker Images on: push: @@ -7,24 +7,26 @@ on: jobs: docker: runs-on: ubuntu-latest + strategy: + matrix: + platform: [amd64, arm64] steps: - - - name: Checkout + - name: Checkout uses: actions/checkout@v2 - - - name: Set up Docker Buildx + + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - - - name: Login to DockerHub + + - name: Login to DockerHub uses: docker/login-action@v1 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push + + - name: Build and push uses: docker/build-push-action@v2 with: context: . push: true tags: aleleba/vscode:latest - platforms: linux/amd64,linux/arm64 \ No newline at end of file + platforms: linux/${{ matrix.platform }} \ No newline at end of file diff --git a/version.txt b/version.txt index 8a4b275..d40b13a 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.1.6 \ No newline at end of file +3.1.7 \ No newline at end of file From 54c7bd336557a976a74b97a95fa175141d3cd3cf Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Tue, 10 Sep 2024 13:43:52 -0600 Subject: [PATCH 06/11] Trying to fix dockerfile on building. Updating to version 3.1.8 --- .github/workflows/main-workflow.yml | 22 ++++++++++------------ Dockerfile | 6 +++++- version.txt | 2 +- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main-workflow.yml b/.github/workflows/main-workflow.yml index 9f18eee..601f587 100644 --- a/.github/workflows/main-workflow.yml +++ b/.github/workflows/main-workflow.yml @@ -1,4 +1,4 @@ -name: Build and Push Docker Images +name: Build and Push Docker Image ARM64 on: push: @@ -7,26 +7,24 @@ on: jobs: docker: runs-on: ubuntu-latest - strategy: - matrix: - platform: [amd64, arm64] steps: - - name: Checkout + - + name: Checkout uses: actions/checkout@v2 - - - name: Set up Docker Buildx + - + name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - - - name: Login to DockerHub + - + name: Login to DockerHub uses: docker/login-action@v1 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push + - + name: Build and push uses: docker/build-push-action@v2 with: context: . push: true tags: aleleba/vscode:latest - platforms: linux/${{ matrix.platform }} \ No newline at end of file + platforms: linux/amd64,linux/arm64 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index d51b7bf..0993fa8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,9 +28,13 @@ RUN ARCH="$(dpkg --print-architecture)" \ #devtunnel token TUNNELID --scope connect RUN curl -sL https://aka.ms/DevTunnelCliInstall | bash +# Configurar debconf para que use una interfaz no interactiva +ENV DEBIAN_FRONTEND=noninteractive + #Instalando VSCode RUN ARCH="$(dpkg --print-architecture)" \ - && sudo apt-get update && sudo apt-get install -y gnupg2 \ + && 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" \ diff --git a/version.txt b/version.txt index d40b13a..dd9db9f 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.1.7 \ No newline at end of file +3.1.8 \ No newline at end of file From 40a58d6a8549f9f045bf48b1c9cf8635c3a0f393 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Tue, 10 Sep 2024 13:59:32 -0600 Subject: [PATCH 07/11] Triying to fix issue on building. Updating to version 3.1.9 --- Dockerfile | 17 ++++++++--------- version.txt | 2 +- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0993fa8..0fda722 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,10 @@ FROM ubuntu:22.04 +# Configurar debconf para que use una interfaz no interactiva +ENV DEBIAN_FRONTEND=noninteractive + # Update the package list, install sudo, create a non-root user, and grant password-less sudo permissions -RUN apt update -RUN apt install -y sudo +RUN apt update && apt install -y sudo RUN sudo apt-get update #Instalando Curl @@ -13,7 +15,7 @@ RUN sudo apt-get install -y wget RUN sudo apt-get install -y jq RUN sudo apt-get update -RUN sudo apt-get install dumb-init +RUN sudo apt-get install -y dumb-init RUN ARCH="$(dpkg --print-architecture)" \ && curl -fsSL "https://github.com/boxboat/fixuid/releases/download/v0.6.0/fixuid-0.6.0-linux-${ARCH}.tar.gz" | tar -C /usr/local/bin -xzf - \ @@ -28,9 +30,6 @@ RUN ARCH="$(dpkg --print-architecture)" \ #devtunnel token TUNNELID --scope connect RUN curl -sL https://aka.ms/DevTunnelCliInstall | bash -# Configurar debconf para que use una interfaz no interactiva -ENV DEBIAN_FRONTEND=noninteractive - #Instalando VSCode RUN ARCH="$(dpkg --print-architecture)" \ && sudo apt-get update \ @@ -38,10 +37,10 @@ RUN ARCH="$(dpkg --print-architecture)" \ && 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 update \ - && sudo apt install code -y + && sudo apt-get update \ + && sudo apt-get install -y code -#Making home writteable +#Making home writable RUN sudo chmod -R a+rwX /home RUN sudo sysctl -w fs.inotify.max_user_watches=524288 diff --git a/version.txt b/version.txt index dd9db9f..7d8ebf9 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.1.8 \ No newline at end of file +3.1.9 \ No newline at end of file From aa71cb3be5b394f1063f637404d855a6c0faaba5 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Tue, 10 Sep 2024 14:33:03 -0600 Subject: [PATCH 08/11] Trying to fix build issues. updating to version 3.1.10 --- .github/workflows/main-workflow.yml | 22 ++++++++++++---------- version.txt | 2 +- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main-workflow.yml b/.github/workflows/main-workflow.yml index 601f587..9f18eee 100644 --- a/.github/workflows/main-workflow.yml +++ b/.github/workflows/main-workflow.yml @@ -1,4 +1,4 @@ -name: Build and Push Docker Image ARM64 +name: Build and Push Docker Images on: push: @@ -7,24 +7,26 @@ on: jobs: docker: runs-on: ubuntu-latest + strategy: + matrix: + platform: [amd64, arm64] steps: - - - name: Checkout + - name: Checkout uses: actions/checkout@v2 - - - name: Set up Docker Buildx + + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - - - name: Login to DockerHub + + - name: Login to DockerHub uses: docker/login-action@v1 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push + + - name: Build and push uses: docker/build-push-action@v2 with: context: . push: true tags: aleleba/vscode:latest - platforms: linux/amd64,linux/arm64 \ No newline at end of file + platforms: linux/${{ matrix.platform }} \ No newline at end of file diff --git a/version.txt b/version.txt index 7d8ebf9..edcc0e5 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.1.9 \ No newline at end of file +3.1.10 \ No newline at end of file From b676e5245c0f1cc059d5c059a34d0f3efbe9d04f Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Tue, 10 Sep 2024 14:40:24 -0600 Subject: [PATCH 09/11] Trying to fix build errors. Updating to version 3.1.11 --- Dockerfile | 1 + version.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0fda722..5fe7748 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM ubuntu:22.04 # Configurar debconf para que use una interfaz no interactiva ENV DEBIAN_FRONTEND=noninteractive +ENV DEBCONF_NONINTERACTIVE_SEEN=true # Update the package list, install sudo, create a non-root user, and grant password-less sudo permissions RUN apt update && apt install -y sudo diff --git a/version.txt b/version.txt index edcc0e5..c48ab2b 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.1.10 \ No newline at end of file +3.1.11 \ No newline at end of file From 8ee5f0376f88b53093727c190475b5f4f7751ee4 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Tue, 10 Sep 2024 14:46:28 -0600 Subject: [PATCH 10/11] Trying to fix issue, updating to version 3.1.12 --- Dockerfile | 6 +----- version.txt | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5fe7748..6a89b76 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,5 @@ FROM ubuntu:22.04 -# Configurar debconf para que use una interfaz no interactiva -ENV DEBIAN_FRONTEND=noninteractive -ENV DEBCONF_NONINTERACTIVE_SEEN=true - # Update the package list, install sudo, create a non-root user, and grant password-less sudo permissions RUN apt update && apt install -y sudo @@ -39,7 +35,7 @@ RUN ARCH="$(dpkg --print-architecture)" \ && 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 apt-get install -y code + && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y code #Making home writable RUN sudo chmod -R a+rwX /home diff --git a/version.txt b/version.txt index c48ab2b..ffbbb67 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.1.11 \ No newline at end of file +3.1.12 \ No newline at end of file From 3b99e2546f7b9d1604befbf97fc3bfbea3771fb6 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Tue, 10 Sep 2024 14:59:04 -0600 Subject: [PATCH 11/11] Fixing github actions workflow. Updating to version 3.1.13 --- .github/workflows/main-workflow.yml | 22 ++++++++++------------ version.txt | 2 +- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main-workflow.yml b/.github/workflows/main-workflow.yml index 9f18eee..601f587 100644 --- a/.github/workflows/main-workflow.yml +++ b/.github/workflows/main-workflow.yml @@ -1,4 +1,4 @@ -name: Build and Push Docker Images +name: Build and Push Docker Image ARM64 on: push: @@ -7,26 +7,24 @@ on: jobs: docker: runs-on: ubuntu-latest - strategy: - matrix: - platform: [amd64, arm64] steps: - - name: Checkout + - + name: Checkout uses: actions/checkout@v2 - - - name: Set up Docker Buildx + - + name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - - - name: Login to DockerHub + - + name: Login to DockerHub uses: docker/login-action@v1 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push + - + name: Build and push uses: docker/build-push-action@v2 with: context: . push: true tags: aleleba/vscode:latest - platforms: linux/${{ matrix.platform }} \ No newline at end of file + platforms: linux/amd64,linux/arm64 \ No newline at end of file diff --git a/version.txt b/version.txt index ffbbb67..85b3175 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.1.12 \ No newline at end of file +3.1.13 \ No newline at end of file