Skip to content

Commit

Permalink
1.0.66 Update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
webpwnized committed May 18, 2024
1 parent be75fbd commit 4f3fdf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .build/www/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ RUN cp /usr/local/etc/php/php.ini-development /usr/local/etc/php/php.ini && \

# Remove the .htaccess file since the containers will use container network security rather than htaccess access control
# Change the database configuration variables in the mutillidae project, allowing the user to override using build arguments
# Change the hostname of the ldap server to the docker ldap hostname
RUN rm /var/www/mutillidae/.htaccess && \
sed -i "s/define('DB_HOST', '127.0.0.1');/define('DB_HOST', '$DATABASE_HOST');/" /var/www/mutillidae/includes/database-config.inc && \
sed -i "s/define('DB_USERNAME', 'root');/define('DB_USERNAME', '$DATABASE_USERNAME');/" /var/www/mutillidae/includes/database-config.inc && \
Expand All @@ -86,7 +87,6 @@ RUN rm /var/www/mutillidae/.htaccess && \
# Configure the web server #
# ######################## #

# Change the hostname of the ldap server to the docker ldap hostname
# Copy the TLS certificate files from mutillidae into cert directories
# Copy the host entries into the host file
# Copy the Apache configuration from Mutillidae into Apache conf
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.65
1.0.66

0 comments on commit 4f3fdf8

Please sign in to comment.