Skip to content

Commit 375b53a

Browse files
fix: Non root user for Cpp docker (#39)
* fix: lock file version * fix: non-root user for cpp * feat: v0.2.2 Co-authored-by: alias-rahil <rahil.kabani.4@gmail.com>
1 parent d29a83f commit 375b53a

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "code-executor",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "A CLI/library to execute code against test cases in various languages and obtain relevant results.",
55
"main": "dist/src/index.js",
66
"keywords": [

src/langs/Cplusplus/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
FROM gcc:4.9
2+
RUN adduser --disabled-password --gecos "" runner
23
COPY start.sh start.sh
3-
WORKDIR /app
4+
WORKDIR /app

0 commit comments

Comments
 (0)