Skip to content

Instantly share code, notes, and snippets.

View madeleineclay's full-sized avatar

Madeleine Clay madeleineclay

View GitHub Profile
@madeleineclay
madeleineclay / run d4a3prd
Created November 7, 2022 12:32
run d4a3prd
>./start.sh -d -e d4a3prd
Please note that dind lxc-stack currently only supports running one environment at the time.
073d31493530adf537f5657114f403f2ebbf2ddefad854377739ca3036df07ff
>docker start -i lxc-stack-dind-d4a3prd
.........10%..........20%..........30%..........40%.........50%..........60%..........70%..........80%..........90%.........100%
@madeleineclay
madeleineclay / catDockerfile.txt
Created September 6, 2022 15:50
cat dockerfile
> cat /home/madeleine/liferay-lxc-7.4-next/lxc-stack/lxc-stack-x1e4prd-1662065092/Dockerfile
FROM liferay/dxp:7.4.13-u39-d4.1.10-20220824121115
ENV LIFERAY_WORKSPACE_ENVIRONMENT=x1e4prd
COPY --chown=liferay:liferay deploy /mnt/liferay/deploy
COPY --chown=liferay:liferay patching /mnt/liferay/patching
COPY --chown=liferay:liferay scripts /mnt/liferay/scripts
COPY --chown=liferay:liferay configs /home/liferay/configs
COPY --chown=liferay:liferay 100_liferay_image_setup.sh /usr/local/liferay/scripts/pre-configure/100_liferay_image_setup.sh
# Any instructions here will be appended to the end of the Dockerfile created by `createDockerfile`.
RUN cd /opt/liferay/tomcat/webapps/ROOT/WEB-INF/shielded-container-lib && \
@madeleineclay
madeleineclay / generatedTree.txt
Created September 6, 2022 15:49
tree of generated directory
~/liferay-lxc-7.4-next/lxc-stack/lxc-stack-x1e4prd-1662065092$ tree
.
├── 100_liferay_image_setup.sh
├── configs
│   ├── e5a2modl
│   │   ├── osgi
│   │   │   ├── configs
│   │   │   │   ├── com.liferay.antivirus.async.store.configuration.AntivirusAsyncConfiguration.config
│   │   │   │   ├── com.liferay.antivirus.clamd.scanner.internal.configuration.ClamdAntivirusScannerConfiguration.config
│   │   │   │   └── com.liferay.portal.security.sso.openid.connect.internal.configuration.OpenIdConnectProviderConfiguration_liferayokta.config
@madeleineclay
madeleineclay / lxc-stackDirectory.txt
Created September 6, 2022 15:47
lxc-stack directory after attempt
pwd
/home/madeleine/liferay-lxc-7.4-next/lxc-stack
madeleine@dn6rhm2:~/liferay-lxc-7.4-next/lxc-stack$ tree
.
├── build
│   └── docker
│   ├── 100_liferay_image_setup.sh
│   ├── configs
│   │   ├── e5a2modl
│   │   │   ├── osgi
@madeleineclay
madeleineclay / contextError.txt
Last active September 1, 2022 20:46
unable to prepare context error
╰─ ~/liferay-lxc-7.4-next/lxc-stack$ ./start.sh -e x1e4prd
> Configure project :
The property `liferay.workspace.product` has not been set. It is recommended to set this property in gradle.properties in the workspace directory. See LPS-111700.
> Task :stopDockerContainer
Stopping container with ID 'liferay-liferay'.
No container with ID 'liferay-liferay' running.
> Task :removeDockerContainer