Remove some unneeded deployment files
This commit is contained in:
parent
362001b558
commit
a84b598a71
3 changed files with 0 additions and 35 deletions
18
docker.sh
18
docker.sh
|
@ -1,18 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -exu
|
||||
|
||||
TAG=$(git rev-parse --short HEAD)
|
||||
|
||||
(
|
||||
rm -rf docker/app
|
||||
mkdir -p docker/app
|
||||
stack build
|
||||
cp $(stack exec which stackage-server) docker/app
|
||||
cp -r static config docker/app
|
||||
cd docker
|
||||
docker build -t snoyberg/stackage-server:$TAG .
|
||||
docker push snoyberg/stackage-server:$TAG
|
||||
)
|
||||
|
||||
echo Pushed as snoyberg/stackage-server:$TAG
|
|
@ -1,10 +0,0 @@
|
|||
FROM ubuntu:14.04
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y libpq5 libgmp10 git
|
||||
|
||||
ADD app /app
|
||||
WORKDIR /app
|
||||
|
||||
ENTRYPOINT ./stackage-server Production
|
||||
EXPOSE 3000
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
cabal clean
|
||||
cabal configure
|
||||
cabal build
|
||||
strip dist/build/cabal-loader-stackage/cabal-loader-stackage
|
||||
scp dist/build/cabal-loader-stackage/cabal-loader-stackage jenkins.stackage.org:/private
|
Loading…
Reference in a new issue