Skip to content

Commit

Permalink
Add CGO_CFLAGS to docker-compose
Browse files Browse the repository at this point in the history
Build was failing with an error, first line being
| sqlite3-binding.c:37644:42: error: 'pread64' undeclared
Found solution at mattn/go-sqlite3#1164
  • Loading branch information
arkon108 committed Feb 22, 2024
1 parent 5ddd837 commit b0cc686
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yaml
Expand Up @@ -5,6 +5,7 @@ services:
container_name: asai-app
environment:
- ENVIRONMENT=LOCAL DEV
- CGO_CFLAGS=-D_LARGEFILE64_SOURCE
build:
context: .
dockerfile: ./env/docker/Dockerfile
Expand Down

0 comments on commit b0cc686

Please sign in to comment.