ispime gopkg

This commit is contained in:
Torma Kristóf 2019-10-25 22:37:40 +02:00
parent 3fd7ae25db
commit 387b98a23f
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
9 changed files with 65 additions and 0 deletions

View File

@ -6,6 +6,8 @@ FROM golang:1.13 as builder
# Create and change to the app directory.
WORKDIR /app
RUN go get -u github.com/golang/dep/cmd/dep
# Retrieve application dependencies.
# This allows the container build to reuse cached dependencies.
COPY go.* ./
@ -14,6 +16,9 @@ RUN go mod download
# Copy local code to the container image.
COPY . ./
#Ensure dependencies with dep
RUN dep ensure
# Build the binary.
RUN CGO_ENABLED=0 GOOS=linux go build -v -o server

5
isprime-go/Gopkg.toml Normal file
View File

@ -0,0 +1,5 @@
ignored = ["github.com/kubeless/kubeless/pkg/functions"]
[[constraint]]
name = "github.com/sirupsen/logrus"
branch = "master"

2
isprime-python/.idea/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
# Default ignored files
/workspace.xml

View File

@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="Flask">
<option name="enabled" value="true" />
</component>
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="R User Library" level="project" />
<orderEntry type="library" name="R Skeletons" level="application" />
</component>
<component name="TemplatesService">
<option name="TEMPLATE_CONFIGURATION" value="Jinja2" />
</component>
<component name="TestRunnerService">
<option name="projectConfiguration" value="pytest" />
<option name="PROJECT_TEST_RUNNER" value="pytest" />
</component>
</module>

View File

@ -0,0 +1,6 @@
<component name="libraryTable">
<library name="R User Library">
<CLASSES />
<SOURCES />
</library>
</component>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.7" project-jdk-type="Python SDK" />
</project>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/isprime-python.iml" filepath="$PROJECT_DIR$/.idea/isprime-python.iml" />
</modules>
</component>
</project>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>