Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
open
cryptops
Commits
97f0251a
Commit
97f0251a
authored
Apr 29, 2020
by
Arie Peterson
🐚
Browse files
Create Dockerfile for building
parent
558d625f
Pipeline
#9932
passed with stage
in 46 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
0 → 100644
View file @
97f0251a
FROM
debian:jessie
RUN
apt-get update
&&
\
apt-get
install
-y
libmicrohttpd-dev libjansson-dev libcurl4-gnutls-dev libgnutls28-dev libgcrypt20-dev libcryptsetup-dev
ENV
LD_LIBRARY_PATH="/cryptops-api/libraries"
WORKDIR
/cryptops-api
COPY
. ./
CMD
["make"]
Vagrantfile
deleted
100644 → 0
View file @
558d625f
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vm
.
box
=
"debian/jessie64"
config
.
vm
.
synced_folder
"."
,
"/cryptops-api"
,
type:
'virtualbox'
# If cryptops-client directory exists, mount it as well so you can test easier
if
File
.
directory?
(
File
.
expand_path
(
'../cryptops-client'
))
config
.
vm
.
synced_folder
"../cryptops-client"
,
"/cryptops-client"
,
type:
'virtualbox'
end
config
.
vm
.
provision
"shell"
,
inline:
<<-
SHELL
apt-get update
apt-get install -y libmicrohttpd-dev libjansson-dev libcurl4-gnutls-dev libgnutls28-dev libgcrypt20-dev libcryptsetup-dev
if ! grep -q 'export LD_LIBRARY_PATH="/cryptops-api/libraries"' /home/vagrant/.bashrc ; then
echo export LD_LIBRARY_PATH="/cryptops-api/libraries">> /home/vagrant/.bashrc
fi
SHELL
end
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment