Fix arm/v7 build
This commit is contained in:
parent
784ae1e833
commit
ac65a0b9d2
2 changed files with 6 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
|||
"test": "jest",
|
||||
"prepare": "husky install",
|
||||
"act:test-install": "act --container-architecture linux/amd64 -j test-install",
|
||||
"act:docker": "act --container-architecture linux/amd64 --secret-file github.secrets -j docker",
|
||||
"act:docker": "act --container-architecture linux/amd64 --secret-file github.secrets -j build-images",
|
||||
"start:dev": "docker-compose -f docker-compose.dev.yml --env-file .env.dev up --build",
|
||||
"start:rc": "docker-compose -f docker-compose.rc.yml --env-file .env up --build",
|
||||
"start:prod": "docker-compose --env-file .env up --build"
|
||||
|
|
|
@ -10,6 +10,9 @@ RUN apt-get update && apt-get install -y \
|
|||
gnupg \
|
||||
lsb-release
|
||||
|
||||
RUN apt-get install -y \
|
||||
g++ gcc make python
|
||||
|
||||
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
|
||||
|
||||
RUN echo \
|
||||
|
@ -20,8 +23,9 @@ RUN apt-get update
|
|||
RUN apt-get install -y docker-ce docker-ce-cli containerd.io
|
||||
|
||||
# Install node
|
||||
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
|
||||
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
|
||||
RUN apt-get install -y nodejs
|
||||
RUN npm install --quiet node-gyp -g
|
||||
|
||||
# Install docker-compose
|
||||
RUN curl -L "https://github.com/docker/compose/releases/download/v2.5.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
|
||||
|
|
Loading…
Add table
Reference in a new issue