mirror of
https://github.com/GermanAizek/mongodb-without-avx
synced 2024-08-30 17:32:17 +00:00
Merge pull request #1 from dss16694/main
Added docker-image and export GIT_PYTHON_REFRESH=quiet
This commit is contained in:
commit
05ccb5aad0
18
.github/workflows/docker-image.yml
vendored
Normal file
18
.github/workflows/docker-image.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
name: Docker Image CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build the Docker image
|
||||
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
|
@ -23,7 +23,8 @@ RUN patch -p0 < /no_avx_patch.diff
|
||||
|
||||
ARG NUM_JOBS=
|
||||
|
||||
RUN python3 -m pip install requirements_parser && \
|
||||
RUN export GIT_PYTHON_REFRESH=quiet && \
|
||||
python3 -m pip install requirements_parser && \
|
||||
python3 -m pip install -r etc/pip/compile-requirements.txt && \
|
||||
if [ "${NUM_JOBS}" -gt 0 ]; then export JOBS_ARG="-j ${NUM_JOBS}"; fi && \
|
||||
python3 buildscripts/scons.py install-servers MONGO_VERSION="${MONGO_VERSION}" --release --disable-warnings-as-errors ${JOBS_ARG} && \
|
||||
|
Loading…
Reference in New Issue
Block a user