Skip to content

Commit

Permalink
fix: 🔧 flags
Browse files Browse the repository at this point in the history
Signed-off-by: Nishant Arora <[email protected]>
  • Loading branch information
whizzzkid committed Oct 4, 2023
1 parent 450fd5a commit 4ff18f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64
platforms: linux/amd64,linux/arm64

- name: Docker meta
id: meta
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ FROM node:20-alpine

RUN apk update
RUN apk add build-base cmake git libressl-dev
ARG CMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS} -fPIC"
ARG CMAKE_C_FLAGS="${CMAKE_C_FLAGS} -fPIC"
ARG CMAKE_CXX_FLAGS
ARG CMAKE_C_FLAGS
ENV CMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS} -fPIC"
ENV CMAKE_C_FLAGS="${CMAKE_C_FLAGS} -fPIC"

WORKDIR /app

Expand Down

0 comments on commit 4ff18f5

Please sign in to comment.