yamori

有給休暇計算を主目的とした簡易勤怠管理システム

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
FROM golang:1.13-stretch

# Install node and yarn
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt-get update && apt-get install -y nodejs
RUN npm install -g yarn

# Download golangci-lint and sql.js
WORKDIR /test
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.24.0
ENV GOOS js
ENV GOARCH wasm
ADD package.json .
RUN yarn install

# Run the tests
ADD . .
CMD go test -exec="./go_sqlite_js_wasm_exec" .