Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docker] Change permission of helper script in docker image #3365

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions web/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ RUN apt-get update -qq && \
python3-dev \
# gcc is needed to build psutil.
gcc \
# netcat is needed for 'wait-for' script.
netcat \
\
# Install necessary runtime environment files.
&& pip3 install -r /requirements_py/requirements.txt \
Expand Down Expand Up @@ -126,10 +128,10 @@ RUN chmod a+x /usr/local/bin/entrypoint.sh \
&& chown codechecker:codechecker /usr/local/bin/entrypoint.sh

ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
RUN chmod 755 /tini

ADD https://github.com/eficode/wait-for/blob/${WAIT_FOR_VERSION}/wait-for /usr/local/bin/wait-for
RUN chmod +x /usr/local/bin/wait-for
ADD https://raw.githubusercontent.com/eficode/wait-for/${WAIT_FOR_VERSION}/wait-for /usr/local/bin/wait-for
RUN chmod 755 /usr/local/bin/wait-for

EXPOSE 8001

Expand Down