Przeglądaj źródła

chore(build): update build env to include npm

Mustafa Arici 8 lat temu
rodzic
commit
5622b954fb
2 zmienionych plików z 3 dodań i 1 usunięć
  1. 1 1
      Dockerfile
  2. 2 0
      Makefile

+ 1 - 1
Dockerfile

@@ -6,7 +6,7 @@ MAINTAINER Mustafa Arici (mustafa@arici.io)
 # Deps
 RUN rpm --import https://mirror.go-repo.io/fedora/RPM-GPG-KEY-GO-REPO
 RUN curl -s https://mirror.go-repo.io/fedora/go-repo.repo | tee /etc/yum.repos.d/go-repo.repo
-RUN yum -y install golang ruby ruby-devel gcc make redhat-rpm-config git rpm-build rpmdevtools createrepo reprepro
+RUN yum -y install golang ruby ruby-devel gcc make redhat-rpm-config git rpm-build rpmdevtools createrepo reprepro npm
 RUN gem install fpm
 
 VOLUME /fs/src/github.com/cad/ovpm

+ 2 - 0
Makefile

@@ -9,3 +9,5 @@ deps:
 	go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
 	go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
 	go get -u github.com/golang/protobuf/protoc-gen-go
+	# webui related dependencies
+	pacman -Sy npm