Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
silkaj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
silkaj
Commits
a1b1aca1
Commit
a1b1aca1
authored
5 years ago
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
[doc]
#245
: Delete Docker documentation
parent
45d9330b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+0
-1
0 additions, 1 deletion
README.md
doc/install_docker.md
+0
-65
0 additions, 65 deletions
doc/install_docker.md
with
0 additions
and
66 deletions
README.md
+
0
−
1
View file @
a1b1aca1
...
...
@@ -12,7 +12,6 @@ pip3 install silkaj --user
-
[
Install with Pip
](
doc/install_pip.md
)
-
[
Install the Development environment
](
doc/install_poetry.md
)
-
[
Install with the build
](
doc/install_build.md
)
-
[
Install with docker
](
doc/install_docker.md
)
-
[
Build an executable with Pyinstaller
](
doc/build_with_pyinstaller.md
)
## Usage
...
...
This diff is collapsed.
Click to expand it.
doc/install_docker.md
deleted
100644 → 0
+
0
−
65
View file @
45d9330b
# Install Silkaj with docker
This page is not meant to be a tutorial on docker, it just give some hints on deploying/using/developping silkaj with docker
## Developping with docker Debian oldstable
```
FROM debian:jessie
ARG DEBIAN_FRONTEND=noninteractive
# optionnel, passe en UTF-8 et en français
RUN apt-get update ; apt-get install -y locales
RUN sed -i 's/^# *\(fr_FR.UTF-8\)/\1/' /etc/locale.gen && locale-gen
ENV LANG fr_FR.UTF-8
ENV LANGUAGE fr_FR:en
ENV LC_ALL fr_FR.UTF-8
RUN apt-get update -y ; apt-get install -y git python3-pip libssl-dev
RUN git clone https://git.duniter.org/clients/python/silkaj.git
WORKDIR /silkaj
RUN apt-get install -y build-essential libffi-dev
RUN pip3 install -e .
```
## Developping with docker Ubuntu 18.04
```
FROM ubuntu:bionic
ARG DEBIAN_FRONTEND=noninteractive
# optionnel, passe en UTF-8 et en français
RUN apt-get update ; apt-get install -y locales
RUN locale-gen fr_FR.UTF-8
ENV LANG fr_FR.UTF-8
RUN apt-get update -y ; apt-get install -y git python3-pip libssl-dev
RUN git clone https://git.duniter.org/clients/python/silkaj.git
WORKDIR /silkaj
RUN pip3 install -e .
```
## Using docker-compose
```
---
version: "3"
services:
silkaj:
build: .
# volumes:
# - "${SOURCE_PATH:-./}:/silkaj"
command: bin/silkaj info
```
You can launch silkaj with the following command :
```
docker-compose run silkaj bin/silkaj
<command>
```
You can mount your code in he /silkaj dir, the source needs to be 0.6.0 or greater.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment