Skip to content

Commit

Permalink
Merge pull request #12 from kingdonb/master
Browse files Browse the repository at this point in the history
feat(slugrunner): update stack to heroku-20
  • Loading branch information
Cryptophobia authored Apr 18, 2021
2 parents a047d44 + 4e3bac5 commit 0c69ace
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions rootfs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM heroku/heroku:18-build
FROM heroku/heroku:20-build

RUN mkdir /app
RUN addgroup --quiet --gid 2000 slug && \
Expand All @@ -12,13 +12,13 @@ ENV PORT 5000
EXPOSE 5000

ADD ./runner /runner
ADD ./bin /bin
ADD https://storage.googleapis.com/hephy-obj-storage-cli/bb8e054/objstorage /bin/objstorage
RUN chmod +x /bin/objstorage && \
ADD ./bin /usr/bin
ADD https://storage.googleapis.com/hephy-obj-storage-cli/bb8e054/objstorage /usr/bin/objstorage
RUN chmod +x /usr/bin/objstorage && \
chown slug:slug /app \
/runner/init \
/bin/get_object \
/bin/objstorage
/usr/bin/get_object \
/usr/bin/objstorage

USER slug
ENV HOME /app
Expand Down

0 comments on commit 0c69ace

Please sign in to comment.