fix: nextcloud build
This commit is contained in:
1 parent
89a7dcdbf2
commit
0dabc81f26
4 files changed
+4
-4
No files matched your search
@@ -77,7 +77,7 @@ Build with Docker.
|
||||
|
||||
```bash
|
||||
cd /srv/build/nextcloud01
|
||||
docker build . -t nextcloud:custom
|
||||
docker build . -t nextcloud:nextcloud01
|
||||
```
|
||||
|
||||
### Internal Server Error
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: Ensure {{ role_name }} build dir exists
|
||||
ansible.builtin.file:
|
||||
path: "{{ docker_build_dir }}/{{ nextcloud_hostname }}/providers"
|
||||
path: "{{ docker_build_dir }}/{{ nextcloud_hostname }}"
|
||||
state: directory
|
||||
|
||||
- name: Copy {{ role_name }} Dockerfile
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM {{ nextcloud_image }}
|
||||
FROM {{ nextcloud_build_image }}
|
||||
RUN apt update
|
||||
RUN apt install -y smbclient libsmbclient-dev
|
||||
RUN pecl install smbclient
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
- name: Build {{ role_name }} custom image
|
||||
community.docker.docker_image:
|
||||
name: rabbitmq:custom
|
||||
name: "{{ rabbitmq_image }}"
|
||||
build:
|
||||
path: "{{ docker_build_dir }}/{{ rabbitmq_hostname }}"
|
||||
pull: true
|
||||
|
||||
Reference in new issue
Block a user