docker build

pull/10/head v0.27.4
Hunter Long 2018-06-29 09:08:09 -07:00
parent 75c39124dc
commit 4ff0ee5a0d
3 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ services:
env:
global:
- VERSION=0.27.3
- VERSION=0.27.4
- DB_HOST=localhost
- DB_USER=travis
- DB_PASS=

View File

@ -1,6 +1,6 @@
FROM alpine:latest
ENV VERSION=v0.27.3
ENV VERSION=v0.27.4
RUN apk --no-cache add libstdc++ ca-certificates
RUN wget -q https://github.com/hunterlong/statup/releases/download/$VERSION/statup-linux-alpine.tar.gz && \

View File

@ -31,10 +31,10 @@ func MakePublicFolder(folder string) {
}
func CompileSASS() {
cmdBin := os.Getenv("SASS")
shell := os.Getenv("BASH_ENV")
sassBin := os.Getenv("SASS")
shell := os.Getenv("CMD_FILE")
log.Send(1, fmt.Sprintf("Compiling SASS into /css/base.css..."))
command := fmt.Sprintf("%v %v %v", cmdBin, "assets/scss/base.scss", "assets/css/base.css")
command := fmt.Sprintf("%v %v %v", sassBin, "assets/scss/base.scss", "assets/css/base.css")
testCmd := exec.Command(shell, command)
_, err := testCmd.Output()
if err != nil {