Skip to content

Commit

Permalink
update rust
Browse files Browse the repository at this point in the history
  • Loading branch information
g-roch committed Jun 20, 2022
1 parent e728add commit e053e5a
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/action/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
# Container image that runs your code
FROM texlive/texlive:latest

RUN apt-get update && apt-get install -y zip && apt-get clean
RUN apt-get update && apt-get install -y zip cargo && apt-get clean

ADD https://sh.rustup.rs rustupinstaller
RUN sh rustupinstaller -y
ENV PATH="/root/.cargo/bin:$PATH"
RUN cargo --version
ENV HOME "/home/tmp"
RUN mkdir /home/tmp
RUN chmod 0777 /home/tmp

#ADD https://sh.rustup.rs rustupinstaller
#RUN sh rustupinstaller -y
#ENV PATH="/root/.cargo/bin:$PATH"
#RUN cargo --version
#RUN chmod ugo+x /root
#RUN chmod -R ugo+rwx /root/.cargo
#RUN chmod ugo+rwx /root/.rustup
#RUN ls -la /root/.rustup
#RUN ln -s /root/.cargo /root/.rustup .

## Copies your code file from your action repository to the filesystem path `/` of the container
#COPY entrypoint.sh /entrypoint.sh
Expand Down

0 comments on commit e053e5a

Please sign in to comment.