diff options
-rw-r--r-- | Dockerfile | 33 | ||||
-rw-r--r-- | Jenkinsfile | 22 | ||||
-rw-r--r-- | README.md | 2 |
3 files changed, 23 insertions, 34 deletions
diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index a9cc343..0000000 --- a/Dockerfile +++ /dev/null @@ -1,33 +0,0 @@ -# hadolint ignore=DL3007 -FROM alpine:latest - -ARG NEOVIM_VERSION=- - -# hadolint ignore=DL3018 -RUN echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \ - apk update && \ - apk --no-cache add \ - autoconf \ - automake \ - bash \ - build-base \ - cmake \ - coreutils \ - curl \ - gettext-tiny-dev \ - git \ - libtool \ - lua-language-server@testing \ - luacheck \ - pkgconf \ - stylua \ - unzip \ - wget - -SHELL ["/bin/bash", "-o", "pipefail", "-c"] - -WORKDIR /tmp/nvim -RUN git clone --depth 1 --branch ${NEOVIM_VERSION} https://github.com/neovim/neovim . && \ - make CMAKE_BUILD_TYPE=Release && \ - make install && \ - rm -rf /tmp/nvim diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..b478fb3 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,22 @@ +pipeline { + agent any + options { ansiColor('xterm') } + stages { + stage('Publish') { + agent { + docker { + image 'peterevans/dockerhub-description:3' + args '--entrypoint ""' + } + } + environment { + DOCKERHUB_USERNAME = 'chn2guevara' + DOCKERHUB_PASSWORD = credentials('DOCKERHUB_TOKEN') + DOCKERHUB_REPOSITORY = 'chn2guevara/nvim' + SHORT_DESCRIPTION = 'Neovim images for CI' + README_FILEPATH = './README.md' + } + steps { sh '/entrypoint.sh' } + } + } +} @@ -1,3 +1,3 @@ -# nvim +# [nvim](https://git.segundo.io/docker/nvim) > stable & nightly Neovim images for CI |