Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
agkyra
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Show more breadcrumbs
itminedu
agkyra
Commits
5c806636
Commit
5c806636
authored
9 years ago
by
Giorgos Korfiatis
Browse files
Options
Downloads
Patches
Plain Diff
Simplify and update docker file
parent
24aeab7c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+15
-7
15 additions, 7 deletions
Dockerfile
with
15 additions
and
7 deletions
Dockerfile
+
15
−
7
View file @
5c806636
FROM
debian
FROM
debian
RUN
apt-get update
&&
apt-get
install
-y
python-pip python-dev git wget vim
RUN
apt-get update
&&
apt-get
install
-y
python-pip python-dev git
RUN
mkdir
/src
&&
cd
/src
&&
git clone https://github.com/pyinstaller/pyinstaller.git
ADD
. /src/agkyra
RUN
apt-get
install
-y
locales
&&
echo
'en_US.UTF-8 UTF-8'
>>
/etc/locale.gen
&&
locale-gen
RUN
apt-get
install
-y
locales
&&
echo
'en_US.UTF-8 UTF-8'
>>
/etc/locale.gen
&&
locale-gen
RUN
adduser
--disabled-password
--gecos
""
user
ENV
LANG en_US.UTF-8
ENV
LANG en_US.UTF-8
RUN
cd
/src/agkyra
&&
./configure.sh linux64
&&
python setup.py
install
RUN
adduser
--disabled-password
--gecos
""
--ingroup
root user
WORKDIR
/home/user
RUN
chmod
-R
g+w /src
ADD
. /home/user/agkyra
RUN
su
-c
"cd /src/agkyra && ../pyinstaller/pyinstaller.py agkyra.spec"
user
RUN
git clone https://github.com/pyinstaller/pyinstaller.git
WORKDIR
/home/user/agkyra
RUN
python configure.py linux64
&&
python setup.py
install
RUN
chown
user:user /home/user/agkyra/build
RUN
chown
user:user /home/user/agkyra/dist
USER
user
ENV
HOME /home/user
RUN
../pyinstaller/pyinstaller.py agkyra.spec
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