Skip to content

Commit

Permalink
Maybe this worked?
Browse files Browse the repository at this point in the history
  • Loading branch information
cansavvy committed Jul 15, 2024
1 parent e123a58 commit 30445cb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions base_ottr/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ LABEL maintainer="[email protected]"
COPY install_github.R .
COPY github_package_list.tsv .

RUN --mount=type=secret,id=github_token $(cat /run/secrets/github_token)

RUN --mount=type=secret,id=gh_pat \
RUN --mount=type=secret,id=github_token \
Rscript install_github.R \
--packages github_package_list.tsv \
--token "$(sed -i s/GH_PAT=/GH_PAT=$(cat /run/secrets/gh_pat)/)"
--token "$(cat /run/secrets/github_token)"

WORKDIR /rocker-build/

Expand Down

0 comments on commit 30445cb

Please sign in to comment.