Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
Doorcode
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Guardians of the Kretschmar Elock System
Doorcode
Commits
c38cb7ca
Commit
c38cb7ca
authored
Apr 11, 2020
by
Jacob Priddy
👌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add container for esp32 builds
parent
8f6cf4d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
docker-compose.yml.example
docker-compose.yml.example
+12
-0
src/embedded/esp32.Dockerfile
src/embedded/esp32.Dockerfile
+20
-0
No files found.
docker-compose.yml.example
View file @
c38cb7ca
...
...
@@ -94,3 +94,15 @@ services:
- "8000:8000"
networks:
- doorcode
esp32:
build:
context: ./src/embedded
dockerfile: ./esp32.Dockerfile
tty: true
container_name: esp32
volumes:
- ./src/embedded:/project
# This only works on linux
- /dev:/dev
ports:
- "2222:22"
src/embedded/esp32.Dockerfile
0 → 100644
View file @
c38cb7ca
FROM
espressif/idf:latest
RUN
apt-get update
\
&&
apt-get
install
-y
ssh
\
rsync
\
tar
\
&&
apt-get clean
RUN
(
\
echo
'LogLevel DEBUG2'
;
\
echo
'PermitRootLogin yes'
;
\
echo
'PasswordAuthentication yes'
;
\
echo
'Subsystem sftp /usr/lib/openssh/sftp-server'
;
\
)
>
/etc/ssh/sshd_config_test_clion
\
&&
mkdir
/run/sshd
RUN
groupmod
-g
985
users
&&
useradd
-u
1000
-ms
/bin/bash
-g
users
builder
\
&&
yes
password | passwd builder
CMD
["/usr/sbin/sshd", "-D", "-e", "-f", "/etc/ssh/sshd_config_test_clion"
Write
Preview
Markdown
is supported
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