Skip to content

Commit

Permalink
feat: install snapcraft
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam committed Feb 7, 2024
1 parent 2105523 commit 139a62f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:
arch:
- alpine-x64
- alpine-arm64
- bionic-x64
- bionic-arm64
- bionic-armhf
- bionic-ppc64le
- focal-x64
- focal-arm64
- focal-armhf
Expand Down
3 changes: 3 additions & 0 deletions bionic-arm64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ RUN apt-get update && apt-get install -y nodejs
RUN npm install -g npm@latest
RUN npm install -g node-gyp

# Snapcraft
RUN sudo apt update && sudo apt install -y snapd

# Install docker client
RUN sudo mkdir -m 0755 -p /etc/apt/keyrings
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
Expand Down
3 changes: 3 additions & 0 deletions bionic-x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ RUN npm install -g node-gyp
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
RUN python --version

# Snapcraft
RUN sudo apt update && sudo apt install -y snapd

# Install docker client
RUN sudo mkdir -m 0755 -p /etc/apt/keyrings
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
Expand Down
3 changes: 3 additions & 0 deletions focal-arm64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ RUN apt-get update && apt-get install -y nodejs
RUN npm install -g npm@latest
RUN npm install -g node-gyp

# Snapcraft
RUN sudo apt update && sudo apt install -y snapd

# Install docker client
RUN sudo mkdir -m 0755 -p /etc/apt/keyrings
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
Expand Down
3 changes: 3 additions & 0 deletions focal-x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ RUN npm install -g npm@latest node-gyp yarn
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
RUN python --version

# Snapcraft
RUN sudo apt update && sudo apt install -y snapd

# Install docker client
RUN sudo mkdir -m 0755 -p /etc/apt/keyrings
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
Expand Down

0 comments on commit 139a62f

Please sign in to comment.