Skip to content

Commit 4dc976e

Browse files
committed
update Dockerfile
1 parent 795f708 commit 4dc976e

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

payload-gen-variant-filtering/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@ FROM python:3.7.5-slim-buster
22

33
LABEL org.opencontainers.image.source https://github.com/icgc-argo/data-processing-utility-tools
44

5+
RUN groupadd -g 1000 ubuntu &&\
6+
useradd -l -u 1000 -g ubuntu ubuntu &&\
7+
install -d -m 0755 -o ubuntu -g ubuntu /home/ubuntu
8+
59
ENV PATH="/tools:${PATH}"
610

711
COPY *.py /tools/
812

13+
USER ubuntu
14+
915
CMD ["/bin/bash"]

payload-gen-variant-filtering/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
along with this program. If not, see <http://www.gnu.org/licenses/>.
1818
1919
Authors:
20-
Linda Xiang (linda.xiang@oicr.on.ca)
20+
Linda Xiang
2121
*/
2222

2323
/********************************************************************/

payload-gen-variant-filtering/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
along with this program. If not, see <http://www.gnu.org/licenses/>.
1919
2020
Authors:
21-
Linda Xiang (linda.xiang@oicr.on.ca)
21+
Linda Xiang
2222
"""
2323

2424
import os

0 commit comments

Comments
 (0)