mirror of
https://github.com/Syfaro/fuzzysearch.git
synced 2024-11-23 15:22:31 +00:00
Build Docker image.
This commit is contained in:
parent
97246f502a
commit
29eddb4536
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@ -0,0 +1 @@
|
||||
target
|
17
.drone.yml
Normal file
17
.drone.yml
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
kind: pipeline
|
||||
name: default
|
||||
type: docker
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
auto_tag: true
|
||||
registry: registry.huefox.com
|
||||
repo: registry.huefox.com/fa-watcher
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
...
|
5
Dockerfile
Normal file
5
Dockerfile
Normal file
@ -0,0 +1,5 @@
|
||||
FROM rustlang/rust:nightly-slim
|
||||
COPY . .
|
||||
RUN apt-get -y update && apt-get -y install pkg-config libssl-dev
|
||||
RUN cargo install --root / --path .
|
||||
CMD ["/bin/fa-watcher"]
|
Loading…
Reference in New Issue
Block a user