Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
z2m
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
Environments
Terraform modules
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
xAAL
Code
Go
z2m
Commits
902587b1
Commit
902587b1
authored
5 months ago
by
KERDREUX Jerome
Browse files
Options
Downloads
Patches
Plain Diff
Time to test
parent
730f4360
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
docker/xaal-go/Dockerfile
+13
-7
13 additions, 7 deletions
docker/xaal-go/Dockerfile
with
13 additions
and
7 deletions
docker/xaal-go/Dockerfile
+
13
−
7
View file @
902587b1
FROM
golang:latest
FROM
golang:latest
ENV
LANG=C.UTF-8
ENV
LANG=C.UTF-8
RUN
apt-get update
&&
apt-get
-y
install sudo
tmux fish htop micro procps net-tools iproute2 grc inetutils-ping make docker.io
&&
rm
-rf
/var/lib/apt/lists/
*
# RUN apt-get update && apt-get -y install sudo tmux fish htop micro procps net-tools iproute2 grc inetutils-ping make docker.io jq && rm -rf /var/lib/apt/lists/*
RUN
apt-get update
&&
apt-get
-y
install sudo
docker.io jq
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
useradd
-ms
/usr/bin/fish xaal
# RUN useradd -ms /usr/bin/fish xaal
RUN
useradd
-ms
/usr/bin/bash xaal
RUN
usermod
-aG
docker xaal
RUN
echo
"xaal ALL=(ALL) NOPASSWD: ALL"
>
/etc/sudoers.d/xaal
RUN
echo
"xaal ALL=(ALL) NOPASSWD: ALL"
>
/etc/sudoers.d/xaal
USER
xaal
USER
xaal
WORKDIR
/home/xaal
WORKDIR
/home/xaal
SHELL
["/usr/bin/fish", "-c"]
#
SHELL ["/usr/bin/fish", "-c"]
COPY
./files/install.sh ./install.sh
COPY
./files/install.sh ./install.sh
RUN
sudo chown
xaal:xaal ./install.sh
&&
./install.sh
# RUN sudo chown xaal:xaal ./install.sh && ./install.sh && rm install.sh
RUN
./install.sh
&&
rm
install.sh
COPY
./files/run.sh ./run.sh
# RUN sudo chown xaal:xaal ./run.sh
COPY
./files/tmux.conf ./.tmux.conf
COPY
./files/tmux.conf ./.tmux.conf
CMD
["
/home/xaal/xaal_git/bin/lamp
"]
CMD
["
./run.sh
"]
# CMD ["tmux"]
# CMD ["tmux"]
#CMD ["sleep","infinity"]
#
CMD ["sleep","infinity"]
#CMD ["bash"]
#CMD ["bash"]
...
...
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