Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dockerfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Picasoft
Technique
Dockerfiles
Commits
3002b5ea
Commit
3002b5ea
authored
5 years ago
by
Romain de Laage
Browse files
Options
Downloads
Patches
Plain Diff
v2
parent
0061272d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Dockerfile
+5
-6
5 additions, 6 deletions
Dockerfile
a.out
+0
-0
0 additions, 0 deletions
a.out
main.c
+0
-8
0 additions, 8 deletions
main.c
tini
+0
-0
0 additions, 0 deletions
tini
with
5 additions
and
14 deletions
Dockerfile
+
5
−
6
View file @
3002b5ea
FROM
debian:buster
MAINTAINER
Romain de Laage <romaindelaage@orange.fr>
RUN
apt-get update
\
&&
apt-get
-yq
install
build-essential libssl-dev libio-socket-ssl-perl liblwp-protocol-https-perl libpq-dev git
\
...
...
@@ -10,15 +9,15 @@ COPY lufi.conf /lufi/lufi.conf
WORKDIR
/lufi
#INSTALLATION OF THE DEPENDENCIES
RUN
carton
install
--deployment
--without
=
test
--without
=
sqlite
--without
=
mysql
VOLUME
/lufi/data /lufi/files
ADD
a.out /boucle
ADD
tini /tini
RUN
chmod
+x /tini
ENTRYPOINT
["/tini", "--"]
EXPOSE
8081
#DEFAULT COMMAND EXECUTED AT EACH LAUNCH OF THE IMAGE
#CMD carton exec hypnotoad /lufi/script/lufi
CMD
carton exec hypnotoad /lufi/script/lufi && /boucle
CMD
["carton", "exec", "hypnotoad", "-f", "/lufi/script/lufi"]
This diff is collapsed.
Click to expand it.
a.out
deleted
100755 → 0
+
0
−
0
View file @
0061272d
File deleted
This diff is collapsed.
Click to expand it.
main.c
deleted
100644 → 0
+
0
−
8
View file @
0061272d
#include
<stdio.h>
int
main
(
void
){
while
(
1
){
}
return
-
1
;
}
This diff is collapsed.
Click to expand it.
tini
0 → 100644
+
0
−
0
View file @
3002b5ea
File added
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