install gcc when postgresql database is chose #118
                
     Merged
            
            
          
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
an error occurs during the build of docker when postgresql is chosen as database due to the missing of gcc library
error :
`#10 23.13 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.10 -c asyncpg/pgproto/pgproto.c -o build/temp.linux-aarch64-cpython-310/asyncpg/pgproto/pgproto.o -O2 -fsigned-char -Wall -Wsign-compare -Wconversion
#10 23.13 error: command 'gcc' failed: No such file or directory
#10 23.13 [end of output]
#10 23.13
#10 23.13 note: This error originates from a subprocess, and is likely not a problem with pip.
#10 23.13 ERROR: Failed building wheel for asyncpg
#10 23.13 Failed to build asyncpg
#10 23.13 ERROR: Could not build wheels for asyncpg, which is required to install pyproject.toml-based projects
#10 23.13
#10 23.13 [notice] A new release of pip available: 22.2.1 -> 22.2.2
#10 23.13 [notice] To update, run: pip install --upgrade pip
#10 23.13
#10 23.13
#10 23.13 at /usr/local/lib/python3.10/site-packages/poetry/utils/env.py:1195 in run
#10 23.15 1191│ output = subprocess.check_output(
#10 23.15 1192│ cmd, stderr=subprocess.STDOUT, **kwargs
#10 23.15 1193│ )
#10 23.15 1194│ except CalledProcessError as e:
#10 23.15 → 1195│ raise EnvCommandError(e, input=input)
#10 23.15 1196│
#10 23.15 1197│ return decode(output)
#10 23.15 1198│
#10 23.15 1199│ def execute(self, bin, *args, **kwargs):
#10 23.15
executor failed running [/bin/sh -c poetry install]: exit code: 1
ERROR: Service 'api' failed to build : Build failed
`