Skip to content

Commit

Permalink
Adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
VoronM1522 committed Feb 15, 2025
1 parent 879790b commit 1218913
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/C++_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
pip install -r app_C++/requirements.txt
sudo apt update
sudo apt install cppcheck wget
mkdir /usr/local/include && wget https://raw.githubusercontent.com/yhirose/cpp-httplib/master/httplib.h -O /usr/local/include/httplib.h
mkdir -p /usr/local/include && wget https://raw.githubusercontent.com/yhirose/cpp-httplib/master/httplib.h -O /usr/local/include/httplib.h
- name: Lint with Cppcheck
run: |
Expand Down
2 changes: 1 addition & 1 deletion app_C++/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:3.19
WORKDIR /app
COPY app.cpp ./
RUN apk add --no-cache wget g++
RUN mkdir /usr/local/include && wget https://raw.githubusercontent.com/yhirose/cpp-httplib/master/httplib.h -O /usr/local/include/httplib.h
RUN mkdir -p /usr/local/include && wget https://raw.githubusercontent.com/yhirose/cpp-httplib/master/httplib.h -O /usr/local/include/httplib.h
RUN g++ app.cpp -o app
RUN adduser app_user || $(chown -R app_user:app_user /app && true)
USER app_user
Expand Down

0 comments on commit 1218913

Please sign in to comment.