$ ./setup.sh
$ docker build .
Last active
August 9, 2016 23:26
-
-
Save timjb/69ad6187448d63f7d88206e35dcf62e6 to your computer and use it in GitHub Desktop.
Pijul Docker Container
This file contains 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
pijul.org | |
sanakirja |
This file contains 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:latest | |
MAINTAINER Tim Baumann <tim@timbaumann.info> | |
# sudo | |
RUN apt-get update && apt-get install -y sudo | |
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo | |
# Add Pijul sources | |
RUN mkdir -p /opt/pijul | |
ADD pijul.org /opt/pijul/pijul.org | |
ADD sanakirja /opt/pijul/sanakirja | |
RUN ln -s /opt/pijul/sanakirja /opt/pijul/pijul.org/libpijul/src/sanakirja | |
RUN ln -s /opt/pijul/pijul.org/libpijul /opt/pijul/pijul.org/pijul/src/libpijul | |
# Install Rust | |
RUN apt-get update && apt-get install -y curl gdb clang | |
RUN curl -sSf https://static.rust-lang.org/rustup.sh | sh | |
# Install pijul | |
RUN apt-get update && apt-get install -y libssl-dev libssh-dev | |
RUN cd /opt/pijul/pijul.org/pijul && cargo install |
This file contains 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 | |
darcs clone https://pijul.org pijul.org | |
darcs clone http://pijul.org/sanakirja sanakirja |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment