From 4ff0ee5a0d0bdc6ca618caf80c8f091a7a9345ad Mon Sep 17 00:00:00 2001 From: Hunter Long Date: Fri, 29 Jun 2018 09:08:09 -0700 Subject: [PATCH] docker build --- .travis.yml | 2 +- Dockerfile | 2 +- assets.go | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9645e0fe..00eb1a51 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ services: env: global: - - VERSION=0.27.3 + - VERSION=0.27.4 - DB_HOST=localhost - DB_USER=travis - DB_PASS= diff --git a/Dockerfile b/Dockerfile index b83ce948..8d501907 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \ diff --git a/assets.go b/assets.go index fdcce05f..e3406467 100644 --- a/assets.go +++ b/assets.go @@ -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 {