Skip to content

Commit feaee9e

Browse files
Merge pull request #5 from mendix/1_typo_fix
1 fix replace BUID with BUILD
2 parents efadea5 + 8a5ab37 commit feaee9e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ FROM cloudfoundry/cflinuxfs2
88
MAINTAINER Mendix Digital Ecosystems <[email protected]>
99

1010
# Build-time variables
11-
ARG BUID_PATH
11+
ARG BUILD_PATH
1212

1313
# Checkout CF Build-pack here
1414
RUN mkdir -p buildpack/.local && \
@@ -23,7 +23,7 @@ ENV PYTHONPATH "/buildpack/lib/"
2323

2424
# Create the build destination
2525
RUN mkdir build cache
26-
COPY $BUID_PATH build
26+
COPY $BUILD_PATH build
2727

2828
# Compile the application source code
2929
WORKDIR /buildpack

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ get-sample:
66
unzip downloads/application.mpk -d build/
77
build-image:
88
docker build \
9-
--build-arg BUID_PATH=build \
9+
--build-arg BUILD_PATH=build \
1010
-t mendix/mendix-buildpack:v1 .
1111
run-container:
1212
docker-compose up

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Because internally the image uses [CF Mendix Buildpack](https://github.com/mendi
3737
Before to run the container, it is necessary to build the image with your app as a result of the compilation. Therefore, when you will build the Docker image you need to provide the **BUILD_PATH** parameter which indicates where the app's source code is located.
3838

3939
```
40-
docker build --build-arg BUID_PATH=change_this_value \
40+
docker build --build-arg BUILD_PATH=change_this_value \
4141
-t mendix/mendix-buildpack:v1 .
4242
```
4343

scripts/compilation

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import os
55
import subprocess
66
import sys
77

8-
BUID_PATH = sys.argv[1]
8+
BUILD_PATH = sys.argv[1]
99
CACHE_PATH = sys.argv[2]
1010

1111
logging.basicConfig(
@@ -29,7 +29,7 @@ def export_vcap_services():
2929

3030
def call_builpack_compilation():
3131
logging.debug("Executing call_builpack_compilation...")
32-
subprocess.call(["/buildpack/bin/compile", BUID_PATH, CACHE_PATH])
32+
subprocess.call(["/buildpack/bin/compile", BUILD_PATH, CACHE_PATH])
3333

3434
if __name__ == '__main__':
3535
logging.info("Mendix project compilation phase...")

0 commit comments

Comments
 (0)