Add pwn
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
0a39113eae
commit
11e47f7c35
12
.drone.yml
12
.drone.yml
|
@ -25,6 +25,18 @@ steps:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
|
- name: docker-pwn
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
registry: registry.makerforce.io
|
||||||
|
repo: registry.makerforce.io/ambrose/file-manager
|
||||||
|
dockerfile: Dockerfile.pwn
|
||||||
|
tags:
|
||||||
|
- env
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
- name: slack
|
- name: slack
|
||||||
image: plugins/slack
|
image: plugins/slack
|
||||||
settings:
|
settings:
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
FROM registry.makerforce.io/ambrose/pwn
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
RUN apk add --no-cache \
|
||||||
|
build-base \
|
||||||
|
python2
|
||||||
|
|
||||||
|
COPY . /usr/local/fm
|
||||||
|
|
||||||
|
RUN cd /usr/local/fm \
|
||||||
|
&& /home/ambrose/.local/bin/yarn install \
|
||||||
|
&& /home/ambrose/.local/bin/yarn cache clean
|
||||||
|
|
||||||
|
USER ambrose
|
||||||
|
|
||||||
|
ENV SHELL="zsh -l"
|
||||||
|
|
||||||
|
CMD ["node", "/usr/local/fm/index.js"]
|
Loading…
Reference in New Issue