Last active
July 21, 2020 17:29
-
-
Save kongzii/a3e0243f938abd14d3cffb1eb00a4a0a to your computer and use it in GitHub Desktop.
Dockerfile with installted coursier
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:20.04 | |
RUN apt-get update \ | |
&& apt-get upgrade -y | |
RUN apt-get install -y curl | |
RUN cd /root \ | |
&& curl -Lo cs https://git.io/coursier-cli-linux \ | |
&& chmod +x cs \ | |
&& ./cs setup --yes | |
COPY entrypoint.sh /entrypoint.sh | |
RUN chmod +x /entrypoint.sh | |
WORKDIR /app | |
ENTRYPOINT ["/entrypoint.sh"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
source ~/.profile | |
exec "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment