fork/cargo
git clone https://git.julia.blue/fork/cargo
8d68ed4fb
0.90.0
1FROM httpd: 2.4-alpine 2 3RUN apk add --no-cache git git-daemon openssl 4 5COPY bar /repos/bar 6WORKDIR /repos/bar 7RUN git config --global user.email "testuser@example.com" &&\ 8 git config --global user.name "Test User" &&\ 9 git config --system --add safe.directory '*' &&\ 10 git init -b master . &&\ 11 git add Cargo.toml src &&\ 12 git commit -m "Initial commit" &&\ 13 cd .. &&\ 14 git clone --bare bar bar.git &&\ 15 rm -rf bar 16WORKDIR / 17 18EXPOSE 443 19 20WORKDIR /usr/local/apache2/conf 21COPY httpd-cargo.conf . 22RUN cat httpd-cargo.conf >> httpd.conf 23RUN openssl req -x509 -nodes -days 3650 -newkey rsa:2048 \ 24 -keyout server.key -out server.crt \ 25 -subj "/emailAddress=webmaster@example.com/C=US/ST=California/L=San Francisco/O=Rust/OU=Cargo/CN=127.0.0.1" 26WORKDIR /