Skip to content

Commit

Permalink
Add python as python3
Browse files Browse the repository at this point in the history
  • Loading branch information
nss10 committed Dec 9, 2024
1 parent 3427ae4 commit 58677c3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ ENV appname=fence
WORKDIR /${appname}

RUN chown -R gen3:gen3 /${appname}
RUN yum install -y tar

# ------ Builder stage ------
FROM base AS builder
Expand All @@ -41,9 +40,13 @@ RUN git config --global --add safe.directory /${appname} && COMMIT=`git rev-pars
&& VERSION=`git describe --always --tags` && echo "VERSION=\"${VERSION}\"" >> /$appname/version_data.py

# install tar
# RUN yum install tar -y
RUN yum install tar -y
# do we need to untar jwt-keys?

#Set python with python3
RUN echo 'alias python="python3"' >> ~/.bashrc && source ~/.bashrc;


# ------ Final stage ------
FROM base

Expand Down

0 comments on commit 58677c3

Please sign in to comment.