http://gitlab-webservice-default:8181/
url: http://gitlab-webservice-default:8181/
runnerRegistrationToken: uAAKHdmhyzUAkxAfzwHv
namespace: gitlab
rbac:
create: true
runners:
privileged: true
config: |
[[runners]]
name = "Kubernetes Gitlab Runner"
clone_url = "http://gitlab-webservice-default:8181/"
url = "http://gitlab-webservice-default:8181/ci"
executor = "kubernetes"
privileged = true
[runners.kubernetes]
image = "ubuntu:18.04"
namespace = "gitlab"
cache_dir = "cache"
[[runners.kubernetes.volumes.config_map]]
name = "docker-daemon"
mount_path = "/etc/docker/daemon.json"
sub_path = "daemon.json"
Dockerfile
FROM node:14-buster as builder
ARG NODE_ENV
WORKDIR /src/app
COPY . .
RUN yarn
ENV NODE_ENV $NODE_ENV
RUN yarn build
EXPOSE 1337
EXPOSE 8000
CMD [ "yarn", "start" ]
да я запускаю без apt сейчас, крашится на >RUN yarn
Обсуждают сегодня