Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Do not run container as root #patch #50

Merged
merged 2 commits into from
Oct 22, 2021
Merged

Conversation

frsann
Copy link
Contributor

@frsann frsann commented Oct 12, 2021

TL;DR

Fixes the Docker container not to run as root.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

The change is made in the Dockerfile, where we create a new group and user to use for running the command.

Tracking Issue

flyteorg/flyte#1606

Follow-up issue

@frsann frsann requested a review from kumare3 as a code owner October 12, 2021 09:17
@codecov
Copy link

codecov bot commented Oct 13, 2021

Codecov Report

Merging #50 (7acbd3c) into master (11d64b3) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #50   +/-   ##
=======================================
  Coverage   67.02%   67.02%           
=======================================
  Files          28       28           
  Lines        1034     1034           
=======================================
  Hits          693      693           
  Misses        282      282           
  Partials       59       59           
Flag Coverage Δ
unittests 65.84% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 11d64b3...7acbd3c. Read the comment docs.

Signed-off-by: Fredrik Sannholm <fredrik.sannholm@wolt.com>
Signed-off-by: Fredrik Sannholm <fredrik.sannholm@wolt.com>
@EngHabu EngHabu merged commit 2bab8c5 into flyteorg:master Oct 22, 2021
@welcome
Copy link

welcome bot commented Oct 22, 2021

Congrats on merging your first pull request! 🎉

eapolinario pushed a commit that referenced this pull request Sep 6, 2023
* Do not run container as root

Signed-off-by: Fredrik Sannholm <fredrik.sannholm@wolt.com>

* Fix command

Signed-off-by: Fredrik Sannholm <fredrik.sannholm@wolt.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants